mpv/sub
wm4 9c9cf125ad osd: slightly simplify update logic
Remove the per-part force_redraw flags, and instead make the difference
between flagging dirty state and returning it to the player frontend
more explicit. The big issue is that 1. the OSD needs to know the dirty
state, and it should be cleared strictly when it is re-rendered
(force_redraw flag), and 2. the player core needs to be notified once,
and the notification must be reset (want_redraw flag).

The call in loadfile.c is replaced by making osd_set_sub() set the
change flag. Increasing the change flag on dirty state (the force_redraw
check in render_object()) should not be needed, because OSD part
renderers set it correctly (at least now).

Doing this just because someone pointed this out.
2016-09-15 14:50:38 +02:00
..
ass_mp.c sub: change how libass output is converted to RGBA in some cases 2016-07-03 19:32:31 +02:00
ass_mp.h sub: pack libass bitmaps directly in sd_ass.c and osd_libass.c 2016-06-30 21:38:50 +02:00
dec_sub.c sub: don't potentially discard too many subtitles on seek 2016-08-14 20:27:37 +02:00
dec_sub.h sub: Add SD_CTRL_UPDATE_SPEED 2016-09-13 09:23:19 +02:00
draw_bmp.c mp_image: split colorimetry metadata into its own struct 2016-07-03 19:42:52 +02:00
draw_bmp.h csputils: get rid of mp_csp_details 2015-01-06 16:50:58 +01:00
img_convert.c sub: move RGBA scaling to vo_vaapi 2016-07-03 19:32:43 +02:00
img_convert.h sub: move RGBA scaling to vo_vaapi 2016-07-03 19:32:43 +02:00
lavc_conv.c sub: interpret "text" subtitles as srt 2016-04-06 12:36:13 +02:00
osd.c osd: slightly simplify update logic 2016-09-15 14:50:38 +02:00
osd.h osd: slightly simplify update logic 2016-09-15 14:50:38 +02:00
osd_dummy.c sub: pass preferred OSD format to subtitle renderers 2016-07-03 19:31:56 +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: slightly simplify update logic 2016-09-15 14:50:38 +02:00
osd_state.h osd: slightly simplify update logic 2016-09-15 14:50:38 +02:00
sd.h sub: don't potentially discard too many subtitles on seek 2016-08-14 20:27:37 +02:00
sd_ass.c sub: Add SD_CTRL_UPDATE_SPEED 2016-09-13 09:23:19 +02:00
sd_lavc.c sd_lavc: enable teletext 2016-09-03 17:12:53 +02:00