mirror of https://github.com/mpv-player/mpv
c3d6f4b63b
This was completely breaking any low-level caching. Change it so that at least demuxer caching will work. Do this by using the metadata cache mechanism to funnel through the menu commands. For some incomprehensible reason, I had to reorder the events (which affects their delivery priority), or they would be ignored. Probably some crap about the event state being cleared before it could be delivered. I don't give a shit. All this code sucks. It would probably be better to let discnav.c access the menu event "queue" directly, and to synchronize access with a mutex, instead of going through all the caching layers, making things complicated and slow. |
||
---|---|---|
.. | ||
ai_alsa1x.c | ||
ai_oss.c | ||
ai_sndio.c | ||
audio_in.c | ||
audio_in.h | ||
cache.c | ||
cache_file.c | ||
cookies.c | ||
cookies.h | ||
discnav.h | ||
dvb_tune.c | ||
dvb_tune.h | ||
dvbin.h | ||
frequencies.c | ||
frequencies.h | ||
rar.c | ||
rar.h | ||
stream.c | ||
stream.h | ||
stream_avdevice.c | ||
stream_bluray.c | ||
stream_cdda.c | ||
stream_dvb.c | ||
stream_dvd.c | ||
stream_dvd_common.c | ||
stream_dvd_common.h | ||
stream_dvdnav.c | ||
stream_edl.c | ||
stream_file.c | ||
stream_lavf.c | ||
stream_memory.c | ||
stream_mf.c | ||
stream_null.c | ||
stream_pvr.c | ||
stream_rar.c | ||
stream_smb.c | ||
stream_tv.c | ||
tv.c | ||
tv.h | ||
tvi_def.h | ||
tvi_dummy.c | ||
tvi_v4l2.c |