[vlc-commits] Disable direct-rendering on ProRes

Jean-Baptiste Kempf git at videolan.org
Sat Dec 10 20:55:44 CET 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Dec 10 20:53:04 2011 +0100| [8b914fcd30153d05b04921868166e5bd43370d61] | committer: Jean-Baptiste Kempf

Disable direct-rendering on ProRes

Crashes in the SSSE3 asm

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8b914fcd30153d05b04921868166e5bd43370d61
---

 modules/codec/avcodec/video.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/modules/codec/avcodec/video.c b/modules/codec/avcodec/video.c
index 95e64b5..c26c7a0 100644
--- a/modules/codec/avcodec/video.c
+++ b/modules/codec/avcodec/video.c
@@ -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 */



More information about the vlc-commits mailing list