[vlc-devel] RFC decoder b_pace_control field

Denis Charmet typx at dinauz.org
Sat Feb 15 14:41:25 CET 2014


It looks like avcodec module silently drop video frames. While looking
at it I found out that it checks for p_dec->b_pace_control which is only
set in src/misc/images but not in src/input/decoder.c

Shouldn't there be something like that in decoder_New

--- a/src/input/decoder.c
+++ b/src/input/decoder.c
@@ -289,6 +289,8 @@ static decoder_t *decoder_New( vlc_object_t
*p_parent, input
         return NULL;
+    p_dec->b_pace_control = var_GetBool( p_input, "can-rate" );
     return p_dec;

Or am I missing the whole point of this flag?


Denis Charmet - TypX
Le mauvais esprit est un art de vivre

More information about the vlc-devel mailing list