]> git.sesse.net Git - vlc/commitdiff
Avcodec: deactivate DR for Camtasia
authorJean-Baptiste Kempf <jb@videolan.org>
Thu, 13 Oct 2011 21:53:27 +0000 (23:53 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 13 Oct 2011 21:54:01 +0000 (23:54 +0200)
Close #4166

modules/codec/avcodec/video.c

index 6595b062d07949bdeca5740ff5db5f2ef18a6526..6c9b865134cf3257412b5ed2e5a18de5050a7cca 100644 (file)
@@ -301,7 +301,7 @@ int InitVideoDec( decoder_t *p_dec, AVCodecContext *p_context,
     if( var_CreateGetBool( p_dec, "ffmpeg-dr" ) &&
        (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_TSCC && p_sys->i_codec_id != CODEC_ID_CSCD &&
 #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 */