summaryrefslogtreecommitdiffstats
path: root/stream/stream_bluray.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-03-26 20:42:09 +0100
committerwm4 <wm4@nowhere>2014-03-26 20:42:09 +0100
commitb292ca8702f88758ef0e08206c28ae674070a45c (patch)
treeafb83dc98646992bf9f626137853005619dca05a /stream/stream_bluray.c
parent5afef03a7076a64058a0c7d7de0780ddff0bdc7c (diff)
downloadmpv-b292ca8702f88758ef0e08206c28ae674070a45c.tar.bz2
mpv-b292ca8702f88758ef0e08206c28ae674070a45c.tar.xz
mf: fix operation with --cache
demux_mf.c explicitly checks for the stream type to check whether images are opened via pattern (mf://..., i.e. stream_mf.c) or directly. Of course the stream type is not set to STREAMTYPE_MF if the stream is wrapped through the cache, so it tried to open the pattern directly as file, which failed. Fix this by disabling caching for mf://. The cache doesn't make sense here anyway, because each file is opened and closed every frame (perhaps to avoid memory bloat).
Diffstat (limited to 'stream/stream_bluray.c')
0 files changed, 0 insertions, 0 deletions