]> git.sesse.net Git - vlc/commitdiff
Disable direct-rendering on ProRes
authorJean-Baptiste Kempf <jb@videolan.org>
Sat, 10 Dec 2011 19:53:04 +0000 (20:53 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Sat, 10 Dec 2011 19:53:04 +0000 (20:53 +0100)
Crashes in the SSSE3 asm

modules/codec/avcodec/video.c

index 95e64b5d36ad59662f4c7c94fafd276cbd260c7a..c26c7a0ef806182f9fc56b9ae06eedfb43020fc4 100644 (file)
@@ -310,6 +310,9 @@ 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 */