diff options
author | wm4 <wm4@nowhere> | 2014-03-26 20:42:09 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-03-30 17:54:33 +0200 |
commit | 67f653324a5ba205a66a1760209b71c2eec8e856 (patch) | |
tree | a7c437076ee2d7e0adb0105f792f342eafe3127e /stream/stream_pvr.c | |
parent | 6e2c29b78658ac7193f90f5745d8312a5ac10e0f (diff) | |
download | mpv-67f653324a5ba205a66a1760209b71c2eec8e856.tar.bz2 mpv-67f653324a5ba205a66a1760209b71c2eec8e856.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_pvr.c')
0 files changed, 0 insertions, 0 deletions