Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
7bd3402a by Steve Lhomme at 2024-04-04T07:38:41+02:00
vlc_subpictures: add the b_absolute to subpicture_region_t

It makes more to put the region relation to the video next to the i_align flag 
and
the i_x/i_x absolute offset or margin inside the video.

A subpicture could have absolute regions and relative regions.

- - - - -
2184adb9 by Steve Lhomme at 2024-04-04T07:38:41+02:00
substext: mark text region updater if the region should be set as absolute or 
relative

Default is true as decoder_NewSubpicture() sets the subpicture
as absolute by default.

- - - - -
2598db41 by Steve Lhomme at 2024-04-04T07:38:41+02:00
subpictures: mark regions associated decoder_NewSubpicture as absolute

...unless they were forced to relative locally.

decoder_NewSubpicture() calls spu.buffer_new which always calls 
subpicture_New().
And subpicture_New() sets subpictures are absolute by default.

- - - - -
17668a29 by Steve Lhomme at 2024-04-05T08:00:37+02:00
subpictures: set the text absolute flag for regions associated 
decoder_NewSubpictureText

decoder_NewSubpictureText() uses decoder_NewSubpicture() to create the SPU.
decoder_NewSubpicture() calls spu.buffer_new which always calls 
subpicture_New().
And subpicture_New() sets subpictures are absolute by default.

So we se the text region absolute flag to true, unless it was set to false in
the SPU.

- - - - -
31420cf5 by Steve Lhomme at 2024-04-05T08:01:26+02:00
subpictures: mark regions associated subpicture_New() as absolute

...unless they were forced to relative locally.

subpicture_New() sets subpictures as absolute by default.

- - - - -
1f995a51 by Steve Lhomme at 2024-04-05T08:12:18+02:00
spu: set the same absolute flags in regions as in subpictures

- - - - -
95fd2226 by Steve Lhomme at 2024-04-05T08:12:18+02:00
vout_subpictures: use the region absolute flag rather than the subpicture one

They should always be equal at this point.

- - - - -
02fd6845 by Steve Lhomme at 2024-04-05T08:12:29+02:00
vout_subpictures: remove write-only subpicture_t absolute flag

- - - - -


30 changed files:

- include/vlc_subpicture.h
- modules/access/bluray.c
- modules/codec/arib/aribsub.c
- modules/codec/arib/libaribcaption.c
- modules/codec/arib/substext.h
- modules/codec/avcodec/subtitle.c
- modules/codec/cc.c
- modules/codec/cea708.c
- modules/codec/cvdsub.c
- modules/codec/dvbsub.c
- modules/codec/kate.c
- modules/codec/libass.c
- modules/codec/scte18.c
- modules/codec/scte27.c
- modules/codec/spudec/parse.c
- modules/codec/stl.c
- modules/codec/subsdec.c
- modules/codec/substext.h
- modules/codec/substx3g.c
- modules/codec/subsusf.c
- modules/codec/svcdsub.c
- modules/codec/telx.c
- modules/codec/textst.c
- modules/codec/ttml/imageupdater.h
- modules/codec/ttml/substtml.c
- modules/codec/webvtt/subsvtt.c
- modules/codec/zvbi.c
- modules/spu/audiobargraph_v.c
- modules/spu/dynamicoverlay/dynamicoverlay.c
- modules/spu/logo.c


The diff was not included because it is too large.


View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/compare/fb836a939545b1390df0a552703384e099a485c3...02fd6845d3adf46f05065ebaa76473b6ff0747a3

-- 
View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/compare/fb836a939545b1390df0a552703384e099a485c3...02fd6845d3adf46f05065ebaa76473b6ff0747a3
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance
_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to