mpv/sub
wm4 c4440db744 sub: do not ignore demuxer wakeups
Setting demux_set_stream_wakeup_cb() will make all sh_stream (i.e.
track) specific wakeups go to this callback. But the callback takes care
of only the sub_preload() case (where it tries to pre-load subtitles
from already parsed and memory-present subtitles in a blocking way).

The old code assumed that the normal demuxer wakeup callback is called.
This was disregarded when the newer code was added. (And actually, the
original plan was to make _all_ per-sh_stream wakeups go to specialized
callbacks to avoid wasted work. dec_sub really should set the callback
always, and propagate wakeups to the playloop code. But it's too far
into the night to write coherent code.)

I couldn't actually observe any manifestation of this bug. Normally, the
playloop wakes up for other reasons (such as driving audio and video
decoding), so the lost wakeups rarely matter.
2020-02-27 02:33:51 +01:00
..
ass_mp.c ass_mp: reset packer when allocation fails 2019-11-02 14:42:36 +01:00
ass_mp.h
dec_sub.c sub: do not ignore demuxer wakeups 2020-02-27 02:33:51 +01:00
dec_sub.h sub: make filter_sdh a "proper" filter, allow runtime changes 2020-02-16 02:07:24 +01:00
draw_bmp.c Replace uses of FFMIN/MAX with MPMIN/MAX 2019-10-31 11:24:20 +01:00
draw_bmp.h
filter_regex.c sub: add an option to filter subtitles by regex 2020-02-16 02:07:24 +01:00
filter_sdh.c sub: make filter_sdh a "proper" filter, allow runtime changes 2020-02-16 02:07:24 +01:00
img_convert.c Replace uses of FFMIN/MAX with MPMIN/MAX 2019-10-31 11:24:20 +01:00
img_convert.h
lavc_conv.c Remove remains of Libav compatibility 2020-02-16 15:14:55 +01:00
osd.c osd: fix possible misses of osd-dimensions property updates 2020-01-08 02:31:18 +01:00
osd.h client API, lua: add new API for setting OSD overlays 2019-12-23 11:44:24 +01:00
osd_dummy.c client API, lua: add new API for setting OSD overlays 2019-12-23 11:44:24 +01:00
osd_font.otf osc: use custom symbols for window controls 2019-12-11 13:53:10 -08:00
osd_libass.c client API, lua: add new API for setting OSD overlays 2019-12-23 11:44:24 +01:00
osd_state.h client API, lua: add new API for setting OSD overlays 2019-12-23 11:44:24 +01:00
sd.h sub: add an option to filter subtitles by regex 2020-02-16 02:07:24 +01:00
sd_ass.c sub: add an option to filter subtitles by regex 2020-02-16 02:07:24 +01:00
sd_lavc.c Remove remains of Libav compatibility 2020-02-16 15:14:55 +01:00