diff options
author | Uoti Urpala <uau@mplayer2.org> | 2011-07-23 05:13:25 +0300 |
---|---|---|
committer | Uoti Urpala <uau@mplayer2.org> | 2011-07-23 05:35:26 +0300 |
commit | 99d9e56e2760579fa17fd1a6673574db383ede42 (patch) | |
tree | 5bb4d8aa31fafed7b436438f8b2fb89a5053facd /TOOLS | |
parent | 91d6bca6950d707915f1301c2a614cc7d9a0fad0 (diff) | |
download | mpv-99d9e56e2760579fa17fd1a6673574db383ede42.tar.bz2 mpv-99d9e56e2760579fa17fd1a6673574db383ede42.tar.xz |
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.
Diffstat (limited to 'TOOLS')
0 files changed, 0 insertions, 0 deletions