dxva: revert limit of video resolution
authorJoakim Plate <elupus@ecce.se>
Sat, 7 Sep 2013 12:01:01 +0000 (14:01 +0200)
committerJoakim Plate <elupus@ecce.se>
Mon, 9 Sep 2013 20:42:23 +0000 (22:42 +0200)
Seems most cards gracefully fail, and some card do support larger rez so allow it.

xbmc/cores/dvdplayer/DVDCodecs/Video/DXVA.cpp

index 6d9c588..2454434 100644 (file)
@@ -447,14 +447,6 @@ static bool CheckCompatibility(AVCodecContext *avctx)
     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).