[vlc-commits] [Git][videolan/vlc][master] transcode: set the output format SAR to 1:1
Steve Lhomme (@robUx4)
gitlab at videolan.org
Tue Feb 6 15:26:21 UTC 2024
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
a4c24514 by Steve Lhomme at 2024-02-06T14:48:25+00:00
transcode: set the output format SAR to 1:1
Otherwise the SPUs might be stretched based on the estimated stretch of the output.
But we're not going to stretch the video before doing the blending. So the SPU's need to
be placed as if there's no stretching.
- - - - -
1 changed file:
- modules/stream_out/transcode/video.c
Changes:
=====================================
modules/stream_out/transcode/video.c
=====================================
@@ -465,6 +465,7 @@ static picture_t * RenderSubpictures( sout_stream_id_sys_t *id, picture_t *p_pic
fmt.i_x_offset = 0;
fmt.i_y_offset = 0;
}
+ fmt.i_sar_den = fmt.i_sar_num = 1;
vlc_render_subpicture *p_subpic = spu_Render( id->p_spu, NULL, &fmt,
&outfmt, vlc_tick_now(), p_pic->date,
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/a4c24514a9c4386635c050fd228eacaa4fcd84cf
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/a4c24514a9c4386635c050fd228eacaa4fcd84cf
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list