1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-30 11:42:04 +00:00
mpv/demux
wm4 26ec5862b3 demux: update file-size property even when paused
While paused, the decoders typically stop reading data from the demuxer.
But for some reason, the file size is returned as a public field in
struct demuxer (wat...), and updated only when the packet reading
function is called. This caused the file size property to always return
the same value when paused, even though the demuxer thread was reading
new data, and the internal file size was updated.

Fix with a simple hack.
2020-02-16 23:59:21 +01:00
..
cache.c
cache.h
codec_tags.c Remove remains of Libav compatibility 2020-02-16 15:14:55 +01:00
codec_tags.h
cue.c cue: tolerate NBSP as whitespace 2020-02-03 19:13:44 +01:00
cue.h
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: add mechanism for delay loading streams 2020-02-15 18:29:44 +01:00
demux_lavf.c Remove remains of Libav compatibility 2020-02-16 15:14:55 +01:00
demux_libarchive.c libarchive: some shitty hack to make opening slightly faster 2020-01-04 19:56:09 +01:00
demux_mf.c demux_mf: use stream API to open list files 2019-12-23 11:01:29 +01:00
demux_mkv_timeline.c playlist: change from linked list to an array 2019-12-28 21:32:15 +01:00
demux_mkv.c demux: do not make up demuxer_id 2019-12-03 21:04:53 +01:00
demux_null.c
demux_playlist.c playlist: change from linked list to an array 2019-12-28 21:32:15 +01:00
demux_raw.c
demux_timeline.c edl: add mechanism for delay loading streams 2020-02-15 18:29:44 +01:00
demux.c demux: update file-size property even when paused 2020-02-16 23:59:21 +01:00
demux.h demux: add per-demuxer sub-options 2020-01-04 19:47:36 +01:00
ebml.c
ebml.h
matroska.h
packet.c Remove remains of Libav compatibility 2020-02-16 15:14:55 +01:00
packet.h
stheader.h
timeline.c stream, demux: redo origin policy thing 2019-12-20 13:00:39 +01:00
timeline.h edl: add mechanism for delay loading streams 2020-02-15 18:29:44 +01:00