summaryrefslogtreecommitdiffstats
path: root/stream/stream_tv.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-11-03 17:46:36 +0100
committerwm4 <wm4@nowhere>2013-11-03 17:46:36 +0100
commit22274f7982e01784a27daac371fe2a1607433425 (patch)
treed9a9637caf56506a0cbb704352836a8dc145fbf7 /stream/stream_tv.c
parent84f7e213ab6ae1736c7e4ad5b2ff6d002c554361 (diff)
downloadmpv-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 'stream/stream_tv.c')
0 files changed, 0 insertions, 0 deletions