diff options
author | wm4 <wm4@nowhere> | 2014-11-01 00:05:24 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-11-01 00:05:24 +0100 |
commit | 650b57cd6e31c6881b78d5a311fc014552cf3ba0 (patch) | |
tree | 6a62b53a9a5146a5ffbe5f04ccba55c1f0d980ff /stream/stream_memory.c | |
parent | 3f3a6b13bd05f6b0c0a68d8857699368a1949cd6 (diff) | |
download | mpv-650b57cd6e31c6881b78d5a311fc014552cf3ba0.tar.bz2 mpv-650b57cd6e31c6881b78d5a311fc014552cf3ba0.tar.xz |
cache: don't relay STREAM_CTRL_AVSEEK if it's unsupported
Thanks to STREAM_CTRL_HAS_AVSEEK, we actually know whether CTRL_AVSEEK
is implemented at all, and we can avoid a blocking wait on the cache if
demux_lavf sends CTRL_AVSEEK even if it won't wait. I'm hoping this
can't currently happen, but why hope if we can explicitly prevent it.
It'll make us more robust against future changes in libavformat.
Diffstat (limited to 'stream/stream_memory.c')
0 files changed, 0 insertions, 0 deletions