1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-23 23:32:26 +00:00
mpv/sub
wm4 2b990ac810 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.
2015-11-29 17:55:02 +01:00
..
ass_mp.c osd: fix and cleanup font style management 2015-11-29 17:55:02 +01:00
ass_mp.h Update license headers 2015-04-13 12:10:01 +02:00
dec_sub.c sub: remove an unneeded old hack for MicroDVD 2015-11-16 16:23:28 +01:00
dec_sub.h player: remove OSD subtitle render path 2015-11-17 01:56:23 +01:00
draw_bmp.c Update license headers 2015-04-13 12:10:01 +02:00
draw_bmp.h csputils: get rid of mp_csp_details 2015-01-06 16:50:58 +01:00
img_convert.c Update license headers 2015-04-13 12:10:01 +02:00
img_convert.h
osd_dummy.c Add some missing "const"s 2014-10-10 13:44:08 +02:00
osd_font.otf osd+osc: Add left-arrow to osd-font 2014-08-21 18:45:41 +02:00
osd_libass.c osd: fix and cleanup font style management 2015-11-29 17:55:02 +01:00
osd_state.h osd: use the same ASS_Renderer for OSD text and progbar 2015-11-28 19:24:31 +01:00
osd.c osd: use the same ASS_Renderer for OSD text and progbar 2015-11-28 19:24:31 +01:00
osd.h osd: use the same ASS_Renderer for OSD text and progbar 2015-11-28 19:24:31 +01:00
sd_ass.c sd_ass: fix secondary subtitle mode 2015-11-22 22:06:56 +01:00
sd_lavc_conv.c Replace deprecated av_free_packet() calls 2015-10-28 23:48:56 +01:00
sd_lavc.c sd_lavc: take care of AVPicture deprecation 2015-10-23 20:14:08 +02:00
sd_lavf_srt.c Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
sd_microdvd.c Update license headers 2015-04-13 12:10:01 +02:00
sd_movtext.c
sd_srt.c Update license headers 2015-04-13 12:10:01 +02:00
sd.h sub: protect ASS_Renderer state 2015-07-06 21:55:37 +02:00