mpv/sub
wm4 0c49ddc818 sub: simplify OSD redrawing logic
Normally, we can redraw the OSD any time. But some drivers don't support
OSD redrawing (vo_null etc.), or only "sometimes" (vo_xv). For that,
some additional logic is needed. Simplify that logic. This might also
fix subtle bugs with the OSD not updating or endless frame stepping in
unforseen corner cases.

Do this by adding a new flag, which tells whether the OSD should be
redrawn.

Remove some minor code duplication.
2012-10-24 21:56:34 +02:00
..
ass_mp.c VO, sub: refactor 2012-10-24 21:56:34 +02:00
ass_mp.h VO, sub: refactor 2012-10-24 21:56:34 +02:00
dec_sub.c VO, sub: refactor 2012-10-24 21:56:34 +02:00
dec_sub.h VO, sub: refactor 2012-10-24 21:56:34 +02:00
draw_bmp.c draw_bmp: don't try to call swscale if image format not supported 2012-10-24 21:56:34 +02:00
draw_bmp.h sub: add cache to mp_draw_sub_bitmaps() 2012-10-24 21:56:34 +02:00
find_sub.c
find_subfiles.c sub: silence output of subtitle search message 2012-07-30 01:45:07 +02:00
find_subfiles.h
img_convert.c Remove things related to old OSD 2012-10-24 21:56:33 +02:00
img_convert.h Remove things related to old OSD 2012-10-24 21:56:33 +02:00
osd_dummy.c sub: allow rendering OSD in ASS image format directly, simplify 2012-10-16 07:26:30 +02:00
osd_font.pfb osd: osd_font.h -> osd_font.pfb 2012-07-28 23:36:08 +02:00
osd_libass.c VO, sub: refactor 2012-10-24 21:56:34 +02:00
sd.h VO, sub: refactor 2012-10-24 21:56:34 +02:00
sd_ass.c VO, sub: refactor 2012-10-24 21:56:34 +02:00
sd_lavc.c VO, sub: refactor 2012-10-24 21:56:34 +02:00
spudec.c VO, sub: refactor 2012-10-24 21:56:34 +02:00
spudec.h VO, sub: refactor 2012-10-24 21:56:34 +02:00
sub.c sub: simplify OSD redrawing logic 2012-10-24 21:56:34 +02:00
sub.h sub: simplify OSD redrawing logic 2012-10-24 21:56:34 +02:00
subassconvert.c subassconvert: order colour names alphabetically / better match W3 list 2012-08-03 03:47:09 +02:00
subassconvert.h
subreader.c sub: simplify code by always defining sub_cp 2012-08-03 06:53:10 +02:00
subreader.h Remove dead code 2012-08-01 17:07:35 +02:00
vobsub.c Remove dead code 2012-08-01 17:07:35 +02:00
vobsub.h Remove dead code 2012-08-01 17:07:35 +02:00