mpv/sub
llyyr 805577c792 sd_ass: add `sub-vsfilter-bidi-compat` to enable vsfilter bidi compat
Enable ASS_FEATURE_{WHOLE_TEXT_LAYOUT, BIDI_BRACKETS} and auto base
detection by default, and add an option to disable this if needed.

This is strictly an improvement for webvtt files as they always use
auto base detection. This _fixes_ right-to-left text rendering for
webvtt files which correctly mark rtl/ltr. Webvtt files obtained from
sources which sideload the RTL information through css also see an
improvement due to the auto detection.

Generally SRT files also want this, but some are also written to
workaround VSFilter quirks.

See also: https://github.com/mpv-player/mpv/pull/12985#issuecomment-1839565138
2024-04-18 00:14:44 +02:00
..
ass_mp.c sub: add flag if sub_bitmap should be rendered in video color space 2024-03-02 15:57:02 +00:00
ass_mp.h sub: add flag if sub_bitmap should be rendered in video color space 2024-03-02 15:57:02 +00:00
dec_sub.c dec_sub: fix locking for sub_ass_get_extradata 2024-04-17 23:42:35 +02:00
dec_sub.h player/sub: avoid wasteful subtitle redraws 2024-02-15 16:43:11 +00:00
draw_bmp.c all: add missing repr assignments 2024-01-26 18:17:02 +02:00
draw_bmp.h csputils: replace mp_alpha_type with pl_alpha_mode 2024-01-22 14:54:55 +00:00
filter_jsre.c
filter_regex.c
filter_sdh.c filter_sdh: optimize get_char_bytes 2024-01-15 16:05:17 +00:00
img_convert.c various: replace some OOM handling 2023-11-24 10:04:55 +01:00
img_convert.h
lavc_conv.c sub/lavc_conv: set dvb teletext and arib caption output type to ASS 2024-04-17 23:41:30 +02:00
meson.build build: remove outdated generated directory 2023-07-31 19:00:06 +00:00
osd.c various: use static assertions where appropriate 2024-03-17 20:04:04 +01:00
osd.h command: add escape-ass 2024-03-21 03:20:14 +01:00
osd_font.otf
osd_libass.c command: add escape-ass 2024-03-21 03:20:14 +01:00
osd_state.h ALL: use new mp_thread abstraction 2023-11-05 17:36:17 +00:00
sd.h sub/lavc_conv: take sd context as a parameter for lavc_conv_create 2024-04-17 23:41:30 +02:00
sd_ass.c sd_ass: add `sub-vsfilter-bidi-compat` to enable vsfilter bidi compat 2024-04-18 00:14:44 +02:00
sd_lavc.c sub/sd_lavc: check decoder output type for dvb and arib 2024-04-17 23:41:30 +02:00