mpv/sub
wm4 5fe2812494 sub: force segment switch if video is already ahead
In particular, this prevents subtitle packets from building up in the
subtitle queue if e.g. --vo=null is used. In this situation,
sub_get_bitmaps() is never called, and thus the segment never switched.

This also seems to help with flickering at segment switch boundaries (if
subs are supposed to be visible at the transition points).

In theory, this could trigger a switch too early, but the way VO and
subtitle renderer interact wrt. timing is a bit iffy anyway.
2016-03-25 17:40:44 +01:00
..
ass_mp.c osd: refactor how mp_ass_render_frame() is called 2016-03-08 21:59:55 +01:00
ass_mp.h osd: refactor how mp_ass_render_frame() is called 2016-03-08 21:59:55 +01:00
dec_sub.c sub: force segment switch if video is already ahead 2016-03-25 17:40:44 +01:00
dec_sub.h
draw_bmp.c
draw_bmp.h
img_convert.c
img_convert.h
lavc_conv.c
osd.c vo_opengl, osd: allow osc.lua to react faster on resizes 2016-03-21 22:23:41 +01:00
osd.h vo_opengl, osd: allow osc.lua to react faster on resizes 2016-03-21 22:23:41 +01:00
osd_dummy.c osd: fix build with --disable-libass 2016-03-16 13:31:48 +01:00
osd_font.otf
osd_libass.c osd, lua: manage multiple ASS overlays set with set_osd_ass() calls 2016-03-08 22:00:02 +01:00
osd_state.h osd: cleanup: make OSDTYPE_ constants private to OSD code 2016-03-08 22:01:57 +01:00
sd.h
sd_ass.c osd: refactor how mp_ass_render_frame() is called 2016-03-08 21:59:55 +01:00
sd_lavc.c