diff options
author | wm4 <wm4@nowhere> | 2016-06-08 11:59:11 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-06-08 12:02:06 +0200 |
commit | bd9bba40ee8e2d11ecfa987b744667dc221870d3 (patch) | |
tree | c5b6d066faa7e87d8b19a01264fe9c66bb70d6f1 /sub/img_convert.c | |
parent | aeb3df0e2c7f8e86f7b550f876dc24ae1c4686f6 (diff) | |
download | mpv-bd9bba40ee8e2d11ecfa987b744667dc221870d3.tar.bz2 mpv-bd9bba40ee8e2d11ecfa987b744667dc221870d3.tar.xz |
player: tell user about --force-seeking if demuxer is not seekable
This comes up often, see e.g. #3220. The issue is that if the stream
input is not seekable, the demuxer is marked as not seekable. But if the
stream cache is enabled, the file still _might_ be seekable to a degree.
We recently disabled seeking in this mode because it can cause very
weird issues, mostly because if stream-layer seeking fails, the demuxers
will arbitrarily misbehave. On the other hand, it can work if the seek
is within the cached range, which is why the user can still enable it
with --force-seeking. There is a weird trade-off between allowing this
and not crapping up too easily, so just informing the user about the
possibility seems best.
Diffstat (limited to 'sub/img_convert.c')
0 files changed, 0 insertions, 0 deletions