mpv/demux
wm4 36da3325a3 demux: stop setting dummy stream on demux_close_stream()
Demuxers can call demux_close_stream() to close the underlying stream if
it's not needed anymore. (Useful to release "heavy" resources like FDs
and sockets. Plus merely keeping a file open can have visible side
effects such as inability to unmount a filesystem or, on Windows, to do
anything with the file.)

Until now, this set demuxer->stream to a dummy stream, because most code
used to assume that the stream field is non-NULL. But this requirement
disappeared (in some cases, the stream field is already NULL), so stop
doing that. demux_lavf.c, one of the demuxers which calls this function,
still had some of this, though.
2019-12-23 11:09:42 +01: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.h
cue.c
cue.h
demux.c demux: stop setting dummy stream on demux_close_stream() 2019-12-23 11:09:42 +01:00
demux.h stream, demux: redo origin policy thing 2019-12-20 13:00:39 +01:00
demux_cue.c stream, demux: redo origin policy thing 2019-12-20 13:00:39 +01:00
demux_disc.c stream, demux: redo origin policy thing 2019-12-20 13:00:39 +01:00
demux_edl.c edl: accept arbitrary paths 2019-12-20 13:00:39 +01:00
demux_lavf.c demux: stop setting dummy stream on demux_close_stream() 2019-12-23 11:09:42 +01:00
demux_libarchive.c stream, demux: redo origin policy thing 2019-12-20 13:00:39 +01:00
demux_mf.c demux_mf: use stream API to open list files 2019-12-23 11:01:29 +01:00
demux_mkv.c demux: do not make up demuxer_id 2019-12-03 21:04:53 +01:00
demux_mkv_timeline.c stream, demux: redo origin policy thing 2019-12-20 13:00:39 +01:00
demux_null.c
demux_playlist.c stream, demux: redo origin policy thing 2019-12-20 13:00:39 +01:00
demux_raw.c stream: replace STREAM_CTRL_GET_SIZE with a proper entrypoint 2019-11-07 22:53:13 +01:00
demux_timeline.c stream, demux: redo origin policy thing 2019-12-20 13:00:39 +01:00
ebml.c demux_mkv, stream: attempt to improve behavior in unseekable streams 2019-11-14 12:59:14 +01:00
ebml.h
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 video, demux: rip out unused spherical metadata code 2019-10-17 22:49:26 +02:00
timeline.c stream, demux: redo origin policy thing 2019-12-20 13:00:39 +01:00
timeline.h stream, demux: redo origin policy thing 2019-12-20 13:00:39 +01:00