[vlc-commits] transcode: encoder: apply framerate to encoder input
Alexandre Janniaux
git at videolan.org
Thu Jan 28 11:10:20 UTC 2021
vlc | branch: master | Alexandre Janniaux <ajanni at videolabs.io> | Tue Jan 26 14:49:09 2021 +0100| [9c9cebb1c3e36fcc8c23237722e57cc906a48635] | committer: Alexandre Janniaux
transcode: encoder: apply framerate to encoder input
Similar change to ad0e707bd6f096dffd48e9942cd61c2ddf61c994, p_enc_in is
supposed to be updated from previous filters, in opposition to
p_enc_out.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9c9cebb1c3e36fcc8c23237722e57cc906a48635
---
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 );
More information about the vlc-commits
mailing list