summaryrefslogtreecommitdiffstats
path: root/osdep/subprocess.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2020-02-16 23:59:21 +0100
committerwm4 <wm4@nowhere>2020-02-16 23:59:21 +0100
commit26ec5862b3edff2d41726fec0619cdee07967b67 (patch)
treef7b6c2fb6a71f8c018c1c4e67d73caceef78de2d /osdep/subprocess.h
parentaafc434f00b339fa7f15e6114311da0fcc5e3269 (diff)
downloadmpv-26ec5862b3edff2d41726fec0619cdee07967b67.tar.bz2
mpv-26ec5862b3edff2d41726fec0619cdee07967b67.tar.xz
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.
Diffstat (limited to 'osdep/subprocess.h')
0 files changed, 0 insertions, 0 deletions