/*
* Copyright (C) 2005-2013 Team XBMC
- * http://www.xbmc.org
+ * http://xbmc.org
*
* This Program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
return false;
}
+ // DXVA has this as a max resolution
+ if(avctx->width >= 1920
+ || avctx->height >= 1088)
+ {
+ CLog::Log(LOGDEBUG, "DXVA - frame size (%dx%d) too large - disallowing", avctx->width, avctx->height);
+ return false;
+ }
+
+
// Check for hardware limited to H264 L4.1 (ie Bluray).
// No advanced settings: autodetect.