[vlc-devel] [PATCH 10/10] avcodec: video: add default handling for skip_loop_filter
ileoo at videolan.org
ileoo at videolan.org
Sun Sep 4 14:30:14 CEST 2016
From: Ilkka Ollakka <ileoo at videolan.org>
---
modules/codec/avcodec/video.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/codec/avcodec/video.c b/modules/codec/avcodec/video.c
index a9435c1..c58583a 100644
--- a/modules/codec/avcodec/video.c
+++ b/modules/codec/avcodec/video.c
@@ -425,6 +425,7 @@ int InitVideoDec( decoder_t *p_dec, AVCodecContext *p_context,
else if( i_val == 3 ) p_context->skip_loop_filter = AVDISCARD_NONKEY;
else if( i_val == 2 ) p_context->skip_loop_filter = AVDISCARD_BIDIR;
else if( i_val == 1 ) p_context->skip_loop_filter = AVDISCARD_NONREF;
+ else p_context->skip_loop_filter = AVDISCARD_DEFAULT;
if( var_CreateGetBool( p_dec, "avcodec-fast" ) )
p_context->flags2 |= CODEC_FLAG2_FAST;
--
2.6.6
More information about the vlc-devel
mailing list