mpv/stream
wm4 c3d6f4b63b dvd, bd: don't unnecessarily block on demuxer/stream all the time
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.
2014-12-04 22:42:07 +01:00
..
ai_alsa1x.c audio: drop swapped-endian audio formats 2014-09-23 23:09:25 +02:00
ai_oss.c Do not call strerror() 2014-11-26 21:21:56 +01:00
ai_sndio.c audio: drop swapped-endian audio formats 2014-09-23 23:09:25 +02:00
audio_in.c Do not call strerror() 2014-11-26 21:21:56 +01:00
audio_in.h
cache.c Do not call strerror() 2014-11-26 21:21:56 +01:00
cache_file.c cache_file: refuse to cache unseekable streams 2014-09-29 18:06:44 +02:00
cookies.c
cookies.h
discnav.h dvd, bd: don't unnecessarily block on demuxer/stream all the time 2014-12-04 22:42:07 +01:00
dvb_tune.c
dvb_tune.h
dvbin.h stream_dvb: restore --dvbin-file option 2014-08-06 20:30:48 +02:00
frequencies.c
frequencies.h
rar.c Remove some unneeded NULL checks 2014-11-21 09:58:09 +01:00
rar.h stream: redo playback abort handling 2014-09-13 16:09:51 +02:00
stream.c Do not call strerror() 2014-11-26 21:21:56 +01:00
stream.h stream: reduce ifdeffery for win32 somewhat 2014-11-18 13:40:34 +01:00
stream_avdevice.c
stream_bluray.c stream_bluray: autodetect AVCHD directories 2014-09-27 18:33:36 +02:00
stream_cdda.c stream: change malloc+memset to calloc 2014-09-27 16:01:49 +02:00
stream_dvb.c stream_dvb: use stream_drop_buffers() 2014-10-08 00:52:39 +02:00
stream_dvd.c Do not call strerror() 2014-11-26 21:21:56 +01:00
stream_dvd_common.c stream_dvd: better .ifo probing 2014-09-25 23:54:18 +02:00
stream_dvd_common.h stream_dvd: better .ifo probing 2014-09-25 23:54:18 +02:00
stream_dvdnav.c stream_dvdnav: allow opening DVD directories directly 2014-09-26 00:30:21 +02:00
stream_edl.c
stream_file.c Do not call strerror() 2014-11-26 21:21:56 +01:00
stream_lavf.c demux_lavf, stream_lavf: drop local buffers on time-seeks 2014-10-30 22:50:44 +01:00
stream_memory.c
stream_mf.c
stream_null.c
stream_pvr.c Do not call strerror() 2014-11-26 21:21:56 +01:00
stream_rar.c stream: redo playback abort handling 2014-09-13 16:09:51 +02:00
stream_smb.c
stream_tv.c
tv.c tv: initialize frequencies to 0 2014-08-28 12:02:50 +02:00
tv.h
tvi_def.h
tvi_dummy.c
tvi_v4l2.c Do not call strerror() 2014-11-26 21:21:56 +01:00