0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 03:52:22 +02:00
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 sub: make preloading more robust 2016-03-06 15:17:59 +01:00
draw_bmp.c Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
draw_bmp.h csputils: get rid of mp_csp_details 2015-01-06 16:50:58 +01:00
img_convert.c Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
img_convert.h Revert "sub: support straight alpha additionally to premultiplied alpha" 2013-08-12 02:49:22 +02:00
lavc_conv.c lavc_conv: fix Libav srt subtitles 2016-02-29 18:20:27 +01:00
osd_dummy.c osd: fix build with --disable-libass 2016-03-16 13:31:48 +01:00
osd_font.otf osd+osc: Add left-arrow to osd-font 2014-08-21 18:45:41 +02:00
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
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
sd_ass.c osd: refactor how mp_ass_render_frame() is called 2016-03-08 21:59:55 +01:00
sd_lavc.c sub: implement "sub-seek 0" 2016-02-04 22:48:13 +01:00
sd.h sub: make preloading more robust 2016-03-06 15:17:59 +01:00