[vlc-commits] commit: lavc implements emu-edge in VP8 now (Jean-Baptiste Kempf )

git at videolan.org git at videolan.org
Wed Dec 29 00:04:41 CET 2010


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Dec 29 00:03:46 2010 +0100| [5a7825ca8ae47062a3299864262dda853856183a] | committer: Jean-Baptiste Kempf 

lavc implements emu-edge in VP8 now

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

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

diff --git a/modules/codec/avcodec/video.c b/modules/codec/avcodec/video.c
index 85bad6e..f821d78 100644
--- a/modules/codec/avcodec/video.c
+++ b/modules/codec/avcodec/video.c
@@ -302,7 +302,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 &&
-#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( 52, 68, 2 )
+#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 */
         p_sys->i_codec_id != CODEC_ID_VP8 &&



More information about the vlc-commits mailing list