diff options
author | Uoti Urpala <uau@mplayer2.org> | 2011-09-23 13:57:11 +0300 |
---|---|---|
committer | Uoti Urpala <uau@mplayer2.org> | 2011-09-23 13:57:11 +0300 |
commit | 0383070588aff3313de70d90478fd607c6c442ff (patch) | |
tree | 5f9abfb607f5f2f0142a0be9d2ab6a0f316fe3e9 /etc | |
parent | e35362f507ae854341577a4f2fb1cade41b0ad83 (diff) | |
download | mpv-0383070588aff3313de70d90478fd607c6c442ff.tar.bz2 mpv-0383070588aff3313de70d90478fd607c6c442ff.tar.xz |
sd_ass.c: set event->Style to fix --ass-styles
Set the "Style" attribute for subtitle events created in sd_ass to
match the "default_style" attribute of the track. This is required to
make --ass-styles work with recent libass versions (otherwise the
event would use style 0, which is a fallback style added by libass
now).
Commit 378ada847c8eb3a641392691b1a2317f8fc214e0 ("sub/ass: use default
style, not first style unconditionally") fixed the same issue for
external subtitles converted with mp_ass_read_subdata(); this commit
fixes it for muxed ones.
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions