]> git.sesse.net Git - vlc/commitdiff
Avcodec: deactivate DR on cinepack
authorJean-Baptiste Kempf <jb@videolan.org>
Sun, 12 Feb 2012 22:47:30 +0000 (23:47 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 12 Feb 2012 22:49:35 +0000 (23:49 +0100)
Close #5872

modules/codec/avcodec/video.c

index 9b42d478eb5cc8af99a8eae94892edfde52a3f0c..3e616e82935ebc6f2e78065f4447faa58a9e5b60 100644 (file)
@@ -316,6 +316,7 @@ 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 &&
+        p_sys->i_codec_id != CODEC_ID_CINEPAK &&
 #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 */