[vlc-devel] RFC decoder b_pace_control field
Rémi Denis-Courmont
remi at remlab.net
Sat Feb 15 16:15:34 CET 2014
Le samedi 15 février 2014, 14:41:25 Denis Charmet a écrit :
> Hi,
>
> 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?
I don't know but p_input may be NULL here, so your patch cannot be right.
--
Реми Денис-Курмон
http://www.remlab.net/
More information about the vlc-devel
mailing list