avviddec: Re-enable direct rendering
authorOlivier Crête <olivier.crete@collabora.com>
Mon, 27 Jul 2015 19:29:49 +0000 (15:29 -0400)
committerOlivier Crête <olivier.crete@collabora.com>
Mon, 27 Jul 2015 19:29:49 +0000 (15:29 -0400)
ext/libav/gstavviddec.c

index c5b7a3f..ee7f2f2 100644 (file)
@@ -668,7 +668,7 @@ gst_ffmpegviddec_get_buffer2 (AVCodecContext * context, AVFrame * picture,
               FALSE)))
     goto negotiate_failed;
 
-  if (TRUE || !ffmpegdec->current_dr)
+  if (!ffmpegdec->current_dr)
     goto no_dr;
 
   ret =