[vlc-commits] [Git][videolan/vlc][master] packetizer: hevc: only change the offset with the visible dimensions
Felix Paul Kühne (@fkuehne)
gitlab at videolan.org
Wed Jul 8 09:16:38 UTC 2026
Felix Paul Kühne pushed to branch master at VideoLAN / VLC
Commits:
ca7612ed by Steve Lhomme at 2026-07-08T10:41:58+02:00
packetizer: hevc: only change the offset with the visible dimensions
We don't change them if they are forced by the demuxer..
Fixes #29968
- - - - -
1 changed file:
- modules/packetizer/hevc.c
Changes:
=====================================
modules/packetizer/hevc.c
=====================================
@@ -635,12 +635,12 @@ static void ActivateSets(decoder_t *p_dec,
&sizes[2], &sizes[3],
&sizes[4], &sizes[5] ) )
{
- p_dec->fmt_out.video.i_x_offset = sizes[0];
- p_dec->fmt_out.video.i_y_offset = sizes[1];
p_dec->fmt_out.video.i_width = sizes[2];
p_dec->fmt_out.video.i_height = sizes[3];
if(p_dec->fmt_in->video.i_visible_width == 0)
{
+ p_dec->fmt_out.video.i_x_offset = sizes[0];
+ p_dec->fmt_out.video.i_y_offset = sizes[1];
p_dec->fmt_out.video.i_visible_width = sizes[4];
p_dec->fmt_out.video.i_visible_height = sizes[5];
}
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/ca7612ed6a340d17b842ebcf51bc8dd81b307288
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/ca7612ed6a340d17b842ebcf51bc8dd81b307288
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help
More information about the vlc-commits
mailing list