[vlc-commits] transcode: Fix typos in the video encoder config
Alaric Senat
git at videolan.org
Mon Jan 18 13:49:52 UTC 2021
vlc | branch: master | Alaric Senat <dev.asenat at posteo.net> | Mon Jan 18 14:37:56 2021 +0100| [ad0e707bd6f096dffd48e9942cd61c2ddf61c994] | committer: Steve Lhomme
transcode: Fix typos in the video encoder config
Signed-off-by: Steve Lhomme <robux4 at ycbcr.xyz>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ad0e707bd6f096dffd48e9942cd61c2ddf61c994
---
modules/stream_out/transcode/encoder/video.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/modules/stream_out/transcode/encoder/video.c b/modules/stream_out/transcode/encoder/video.c
index cfa4b09504..5e7a3690ea 100644
--- a/modules/stream_out/transcode/encoder/video.c
+++ b/modules/stream_out/transcode/encoder/video.c
@@ -261,11 +261,11 @@ void transcode_encoder_video_configure( vlc_object_t *p_obj,
p_enc_out->i_width = p_enc_in->i_width;
p_enc_out->i_visible_width = p_enc_in->i_visible_width;
p_enc_out->i_height = p_enc_in->i_height;
- p_enc_out->i_visible_height = p_enc_out->i_visible_height;
+ p_enc_out->i_visible_height = p_enc_in->i_visible_height;
- transcode_video_sar_apply( p_src, p_enc_out );
- p_enc_in->i_sar_num = p_enc_out->i_sar_num;
- p_enc_in->i_sar_den = p_enc_out->i_sar_den;
+ transcode_video_sar_apply( p_src, p_enc_in );
+ p_enc_out->i_sar_num = p_enc_in->i_sar_num;
+ p_enc_out->i_sar_den = p_enc_in->i_sar_den;
msg_Dbg( p_obj, "encoder aspect is %u:%u",
p_enc_out->i_sar_num * p_enc_out->i_width,
p_enc_out->i_sar_den * p_enc_out->i_height );
More information about the vlc-commits
mailing list