diff options
author | wm4 <wm4@nowhere> | 2013-11-03 17:46:36 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-11-03 17:46:36 +0100 |
commit | 22274f7982e01784a27daac371fe2a1607433425 (patch) | |
tree | d9a9637caf56506a0cbb704352836a8dc145fbf7 /demux/demux_mf.c | |
parent | 84f7e213ab6ae1736c7e4ad5b2ff6d002c554361 (diff) | |
download | mpv-22274f7982e01784a27daac371fe2a1607433425.tar.bz2 mpv-22274f7982e01784a27daac371fe2a1607433425.tar.xz |
stream: more consistent checks for whether stream is seekable
Never check s->seek (except in init), because it'd have to check
s->flags anyway. Also, for fast skippable streams (like pipes), don't
set the bit that indicates support for seek forward.
Make sure s->end_pos is always 0 for unseekable streams. Lots of code
outside of stream.c uses this to check seeking support.
Diffstat (limited to 'demux/demux_mf.c')
0 files changed, 0 insertions, 0 deletions