[vlc-commits] [Git][videolan/vlc][master] vout_subpictures: position regions in the video regardless of absolute flag
Felix Paul Kühne (@fkuehne)
gitlab at videolan.org
Sat Jul 19 11:37:37 UTC 2025
Felix Paul Kühne pushed to branch master at VideoLAN / VLC
Commits:
2624aef7 by Steve Lhomme at 2025-07-19T11:20:45+00:00
vout_subpictures: position regions in the video regardless of absolute flag
This was originally introduced in 95fd2226a438f1eb31e00fbc7e18d28822ce351f.
But any region that was positioned within the video dimensions need to be
positioned back in the display.
On the other hand an absolute region doesn't need to be positioned back if it
was not positioned within the video.
- - - - -
1 changed file:
- src/video_output/vout_subpictures.c
Changes:
=====================================
src/video_output/vout_subpictures.c
=====================================
@@ -1488,7 +1488,7 @@ static vlc_render_subpicture *SpuRenderSubpictures(spu_t *spu,
if (unlikely(output_last_ptr == NULL))
continue;
- if (subpic_in_video || !region->b_absolute) {
+ if (subpic_in_video) {
// place the region inside the video area
output_last_ptr->place.x += video_position->x;
output_last_ptr->place.y += video_position->y;
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/2624aef7f5d7cb603a68a9a8ce268fd6dbe57339
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/2624aef7f5d7cb603a68a9a8ce268fd6dbe57339
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