[vlc-commits] [Git][videolan/vlc][master] Revert "spudec: set the subpicture original dimensions based on the SPU properties"
Steve Lhomme (@robUx4)
gitlab at videolan.org
Wed Jan 15 09:39:18 UTC 2025
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
2949c32e by Steve Lhomme at 2025-01-15T09:16:19+00:00
Revert "spudec: set the subpicture original dimensions based on the SPU properties"
This reverts commit 9a0d9c98ebdc16450eb3a525df4f896359733d4f.
This only worked in menus because the size was not exactly as the source
and did not trigger the bug fixed by !6653.
- - - - -
1 changed file:
- modules/codec/spudec/parse.c
Changes:
=====================================
modules/codec/spudec/parse.c
=====================================
@@ -871,13 +871,6 @@ static int Render( decoder_t *p_dec, subpicture_t *p_spu,
}
vlc_spu_regions_push(&p_spu->regions, p_region);
- if (p_spu->i_original_picture_width == 0 && p_spu->i_original_picture_height == 0)
- {
- assert(p_spu_properties->i_width != 0);
- assert(p_spu_properties->i_height != 0);
- p_spu->i_original_picture_width = p_spu_properties->i_width;
- p_spu->i_original_picture_height = p_spu_properties->i_height;
- }
p_region->b_absolute = true;
p_region->i_x = p_spu_properties->i_x;
p_region->i_y = p_spu_properties->i_y + p_spu_data->i_y_top_offset;
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/2949c32e8113b813be5c830e33cdab65095cacd4
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/2949c32e8113b813be5c830e33cdab65095cacd4
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