]> git.sesse.net Git - vlc/commitdiff
Revert "Disable direct-rendering on ProRes"
authorRafaël Carré <funman@videolan.org>
Mon, 12 Dec 2011 20:17:06 +0000 (15:17 -0500)
committerRafaël Carré <funman@videolan.org>
Mon, 12 Dec 2011 20:17:06 +0000 (15:17 -0500)
This reverts commit 8b914fcd30153d05b04921868166e5bd43370d61.

The problem was fixed in bc3b85c6bd6dc0094562561b084dcea3f0364743.

modules/codec/avcodec/video.c

index c26c7a0ef806182f9fc56b9ae06eedfb43020fc4..95e64b5d36ad59662f4c7c94fafd276cbd260c7a 100644 (file)
@@ -310,9 +310,6 @@ int InitVideoDec( decoder_t *p_dec, AVCodecContext *p_context,
        (p_sys->p_codec->capabilities & CODEC_CAP_DR1) &&
         /* No idea why ... but this fixes flickering on some TSCC streams */
         p_sys->i_codec_id != CODEC_ID_TSCC && p_sys->i_codec_id != CODEC_ID_CSCD &&
-#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( 53, 15, 0 )
-        p_sys->i_codec_id != CODEC_ID_PRORES &&
-#endif
 #if (LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( 52, 68, 2 ) ) && (LIBAVCODEC_VERSION_INT < AV_VERSION_INT( 52, 100, 1 ) )
         /* avcodec native vp8 decode doesn't handle EMU_EDGE flag, and I
            don't have idea howto implement fallback to libvpx decoder */