mpv/demux
wm4 5cbbd25090 demux_timeline, demux_edl: correctly enable cache in pseudo-DASH mode
In pseudo-DASH mode, we may have no real streams opened until the
demuxer layer is fully loaded and playback actually starts. The only
hint that the stream is from network is, at that point, the init
segment, which is only opened as stream, and then separately as demuxer
(which is dumb but happened to fit the internal architecture better).

So just propagate the flags from the init segment stream. Seems like an
annoyance, but doesn't hurt that much I guess. (Until someone gets the
idea to pass the init segment data inline or so, but nothing does that.)

The sample link in the linked issue will probably soon switch to another
format, because that service always does this after recent uploads or
so.

Fixes: #7038
2019-10-08 23:55:05 +02:00
..
cache.c demux: add a on-disk cache 2019-09-19 20:37:05 +02:00
cache.h demux: add a on-disk cache 2019-09-19 20:37:05 +02:00
codec_tags.c codec_tags: fix wrong buffer size 2019-07-03 17:47:24 +03:00
codec_tags.h
cue.c demux: support cue sheets longer than 100 minutes 2019-04-01 23:39:08 +02:00
cue.h
demux.c demux: restore some of the DVD/BD/CDDA interaction layers 2019-10-03 00:22:18 +02:00
demux.h demux: restore some of the DVD/BD/CDDA interaction layers 2019-10-03 00:22:18 +02:00
demux_cue.c demux_cue: auto-detect CUE sheet charset 2019-09-21 15:18:20 +02:00
demux_disc.c demux: restore some of the DVD/BD/CDDA interaction layers 2019-10-03 00:22:18 +02:00
demux_edl.c demux_timeline, demux_edl: correctly enable cache in pseudo-DASH mode 2019-10-08 23:55:05 +02:00
demux_lavf.c demux: restore some of the DVD/BD/CDDA interaction layers 2019-10-03 00:22:18 +02:00
demux_libarchive.c demux: sort filenames naturally when playing a directory / archive 2019-09-29 01:13:00 +03:00
demux_mf.c demux: return packets directly from demuxer instead of using sh_stream 2019-09-19 20:37:04 +02:00
demux_mkv.c demux_mkv: better behavior/warnings on partial files/unseekable streams 2019-10-01 21:27:25 +02:00
demux_mkv_timeline.c demux_edl, cue, mkv: slightly nicer file format indication 2019-09-19 20:37:04 +02:00
demux_null.c demux_null: mark as seekable 2018-01-06 14:42:22 -08:00
demux_playlist.c demux: sort filenames naturally when playing a directory / archive 2019-09-29 01:13:00 +03:00
demux_raw.c demux_raw: fix operation with demuxer cache and backward playback 2019-09-19 20:37:04 +02:00
demux_timeline.c demux_timeline, demux_edl: correctly enable cache in pseudo-DASH mode 2019-10-08 23:55:05 +02:00
ebml.c demux_mkv: adjust log verbosity levels 2018-04-29 02:21:32 +03:00
ebml.h demux_mkv: rewrite packet reading to avoid 1 memcpy() 2017-11-05 18:13:34 +01:00
matroska.h
packet.c packet: fix theoretical UB if called on "empty" packets 2019-09-19 20:37:05 +02:00
packet.h demux: add a on-disk cache 2019-09-19 20:37:05 +02:00
stheader.h demux, demux_mkv: fix seeking in cache with large codec delay 2019-09-19 20:37:04 +02:00
timeline.c demux_edl, cue, mkv: slightly nicer file format indication 2019-09-19 20:37:04 +02:00
timeline.h demux_timeline, demux_edl: correctly enable cache in pseudo-DASH mode 2019-10-08 23:55:05 +02:00