[vlc-devel] [PATCH 1/3] transcode: encoder: apply framerate to encoder input

Steve Lhomme robux4 at ycbcr.xyz
Wed Jan 27 06:54:15 UTC 2021


patchset LGTM

On 2021-01-26 15:01, Alexandre Janniaux wrote:
> Similar change to ad0e707bd6f096dffd48e9942cd61c2ddf61c994, p_enc_in is
> supposed to be updated from previous filters, in opposition to
> p_enc_out.
> ---
>   modules/stream_out/transcode/encoder/video.c | 6 +++---
>   1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/modules/stream_out/transcode/encoder/video.c b/modules/stream_out/transcode/encoder/video.c
> index 5e7a3690ea..3444759219 100644
> --- a/modules/stream_out/transcode/encoder/video.c
> +++ b/modules/stream_out/transcode/encoder/video.c
> @@ -250,9 +250,9 @@ void transcode_encoder_video_configure( vlc_object_t *p_obj,
>   
>       p_enc_in->i_chroma = p_enc->p_encoder->fmt_in.i_codec;
>   
> -    transcode_video_framerate_apply( p_src, p_enc_out );
> -    p_enc_in->i_frame_rate = p_enc_out->i_frame_rate;
> -    p_enc_in->i_frame_rate_base = p_enc_out->i_frame_rate_base;
> +    transcode_video_framerate_apply( p_src, p_enc_in );
> +    p_enc_out->i_frame_rate = p_enc_in->i_frame_rate;
> +    p_enc_out->i_frame_rate_base = p_enc_in->i_frame_rate_base;
>       msg_Dbg( p_obj, "source fps %u/%u, destination %u/%u",
>                p_dec_out->i_frame_rate, p_dec_out->i_frame_rate_base,
>                p_enc_in->i_frame_rate, p_enc_in->i_frame_rate_base );
> -- 
> 2.30.0
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
> 


More information about the vlc-devel mailing list