summaryrefslogtreecommitdiffstats
path: root/LICENSE
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-11-29 13:50:51 +0100
committerwm4 <wm4@nowhere>2015-11-29 17:55:02 +0100
commit2b990ac8105f500aafc43b617eb35d474f1c5107 (patch)
tree42e38f0c06ef7a3c64efd7d1dc5a7da43c7ca9d4 /LICENSE
parent005f03d99fe457abf37a3171bfac15240851d72a (diff)
downloadmpv-2b990ac8105f500aafc43b617eb35d474f1c5107.tar.bz2
mpv-2b990ac8105f500aafc43b617eb35d474f1c5107.tar.xz
osd: fix and cleanup font style management
Commit 2b07d3eb merged progbar and OSD text renderer into one ASS_Track, but it confused the styles. Specifically, if both progbar and OSD are visible, the create_ass_track() call made by the progbar code will reset the style adjusted by the OSD text code. Change create_ass_track() not to add any styles. Instead let the caller manage the styles. They are now referenced by name, and lazily added if they don't exist yet. This is also much cleaner.
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions