1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-17 12:25:03 +00:00
mpv/demux
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
..
codec_tags.c demux_mkv: remove ancient codec mapping leftovers 2014-11-28 20:54:51 +01:00
codec_tags.h demux_mkv: remove ancient codec mapping leftovers 2014-11-28 20:54:51 +01:00
demux_cue.c demux_cue: use stream_peek() 2014-11-16 18:13:41 +01:00
demux_disc.c dvd, bd: don't unnecessarily block on demuxer/stream all the time 2014-12-04 22:42:07 +01:00
demux_edl.c timeline: reject mplayer2 EDL files, change EDL header 2013-11-21 15:59:00 +01:00
demux_lavf.c demux_lavf: set PTS of first packet for formats with no timestamps 2014-11-25 19:08:23 +01:00
demux_libass.c demux_libass: change how external ASS subtitles are loaded 2014-03-15 22:17:51 +01:00
demux_mf.c demux: gracefully handle packet allocation failures 2014-09-16 18:11:00 +02:00
demux_mkv.c demux_mkv: remove ancient codec mapping leftovers 2014-11-28 20:54:51 +01:00
demux_playlist.c demux_playlist: don't ignore last line in m3u 2014-11-30 19:30:22 +01:00
demux_raw.c stream_cdda, demux_raw: always use s16le 2014-09-25 21:32:06 +02:00
demux_subreader.c demux: fix timestamp type for seek calls 2014-07-21 19:29:58 +02:00
demux_tv.c audio: decouple demux and audio decoder/filter sample formats 2014-09-24 22:55:50 +02:00
demux.c dvd, bd: don't unnecessarily block on demuxer/stream all the time 2014-12-04 22:42:07 +01:00
demux.h dvd, bd: don't unnecessarily block on demuxer/stream all the time 2014-12-04 22:42:07 +01:00
ebml.c demux_mkv: fix undefined shifts 2014-11-08 10:21:12 +01:00
ebml.h Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
matroska.h demux_mkv: add S_DVBSUB 2014-06-17 22:44:27 +02:00
mf.c Audit and replace all ctype.h uses 2014-07-01 23:11:08 +02:00
mf.h demux: mp_msg conversions 2013-12-21 21:43:16 +01:00
packet.c demux: unbreak build with Libav 2014-11-03 22:30:07 +01:00
packet.h demux_mkv: implement audio skipping/trimming 2014-11-03 20:20:28 +01:00
stheader.h player: add stream selection by ffmpeg index 2014-10-21 13:19:20 +02:00