1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-28 10:02:17 +00:00
mpv/sub
Uoti Urpala 99d9e56e27 subs: fix per-file --ass-force-style
The --ass-force-style option was only applied when the main libass
library handle was created. Thus any per-file option changes later had
no effect. Do the ass_set_style_overrides() call in per-file
initialization instead so that possible changes will be applied. Also
move the option variable to the option struct.

Current libass will crash (usually) if you set style overrides to a
nonempty value, then an empty one. It'll be easier to trigger this bug
after this commit, but the problem is not on mplayer2 side. The fix is
trivial so hopefully there will be a fixed libass soon.
2011-07-23 05:35:26 +03:00
..
ass_mp.c subs: fix per-file --ass-force-style 2011-07-23 05:35:26 +03:00
ass_mp.h subs: fix per-file --ass-force-style 2011-07-23 05:35:26 +03:00
av_sub.c cleanup: do libav* initialization on startup 2011-07-18 00:57:05 +03:00
av_sub.h
dec_sub.c
dec_sub.h
find_sub.c
find_subfiles.c find_subfiles: fix unintended modification of global filename 2011-04-28 09:44:37 +03:00
find_subfiles.h subs: options: add -sub-paths 2011-04-20 04:22:52 +03:00
font_load_ft.c cleanup: shut up more warnings 2011-05-06 18:33:16 +03:00
font_load.c cleanup: shut up more warnings 2011-05-06 18:33:16 +03:00
font_load.h
osd_font.h
sd_ass.c cleanup: subs: remove global ass_library variable 2011-07-23 01:55:13 +03:00
sd.h
spudec.c cleanup: shut up more warnings 2011-05-06 18:33:16 +03:00
spudec.h
sub_cc.c
sub_cc.h
sub.c cleanup: shut up more warnings 2011-05-06 18:33:16 +03:00
sub.h cleanup: subs: remove global ass_library variable 2011-07-23 01:55:13 +03:00
subassconvert.c
subassconvert.h
subreader.c subreader: SAMI subs: wrap line if needed 2011-06-29 11:28:46 +03:00
subreader.h find_subfiles: move sub_filenames() here 2011-04-20 04:22:52 +03:00
unrar_exec.c
unrar_exec.h
vobsub.c cleanup: vobsub.c: simplify parsing 2011-07-06 13:01:07 +03:00
vobsub.h options: change -alang and -slang to use string list type 2011-04-20 04:22:42 +03:00