1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-24 07:42:17 +00:00
mpv/sub
wm4 7c73f70b89 osd: delay libass initialization as far as possible
Until now, most OSD objects created the associated ASS_Renderer instance
as soon as possible, even if nothing was going to be rendered. Maybe
this was even intentional.

Change this for the sake of lowering resource usage, and strictly
initialize ASS_Renderer only when it's really needed.

For the OSC, initialization has to be forced, because of the insane
mechanism for translating mouse coordinates to OSD coordinates.
2015-09-07 14:26:01 +02:00
..
ass_mp.c Update license headers 2015-04-13 12:10:01 +02:00
ass_mp.h Update license headers 2015-04-13 12:10:01 +02:00
dec_sub.c charset_conv: make it possible to return an allocated string as guess 2015-08-01 23:49:37 +02:00
dec_sub.h sub: protect ASS_Renderer state 2015-07-06 21:55:37 +02:00
draw_bmp.c Update license headers 2015-04-13 12:10:01 +02:00
draw_bmp.h
find_subfiles.c player: use an array for stream ID options and such 2015-05-22 21:00:24 +02:00
find_subfiles.h Update license headers 2015-04-13 12:10:01 +02:00
img_convert.c Update license headers 2015-04-13 12:10:01 +02:00
img_convert.h
osd_dummy.c
osd_font.otf
osd_libass.c osd: delay libass initialization as far as possible 2015-09-07 14:26:01 +02:00
osd_state.h player: remove higher-level remains of DVD/BD menu support 2015-08-03 23:49:14 +02:00
osd.c player: remove higher-level remains of DVD/BD menu support 2015-08-03 23:49:14 +02:00
osd.h player: remove higher-level remains of DVD/BD menu support 2015-08-03 23:49:14 +02:00
sd_ass.c sd_ass: assume negative durations are unknown durations, and handle them 2015-08-27 23:45:02 +02:00
sd_lavc_conv.c sub: always try to use libavcodec text subtitle converter 2015-09-01 23:48:14 +02:00
sd_lavc.c sub: add option for stretching image subtitles to screen 2015-07-18 14:36:17 +02:00
sd_lavf_srt.c
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