summaryrefslogtreecommitdiffstats
path: root/common/common.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-11-06 21:34:52 +0100
committerwm4 <wm4@nowhere>2019-11-06 21:35:32 +0100
commit48fc642e0c98025e12eafd388655da37848f94ef (patch)
tree5eef186afab89a9e556f8a9cf554104ef8f1ab55 /common/common.c
parent517489814d6bc4837a1c24f7601a77136564fb7a (diff)
downloadmpv-48fc642e0c98025e12eafd388655da37848f94ef.tar.bz2
mpv-48fc642e0c98025e12eafd388655da37848f94ef.tar.xz
demux: unconditionally reposition stream to start before opening
The old code made it depend on ->seekable. If it isn't seekable, and something discarded the data, then it'll just show an error message, which will at least be somewhat informative. If no data was discarded, the seek call is always a no-op. There's a weird "timeline" condition in the old code; this doesn't matter anymore, because timeline stuff does not pass streams down to nested demuxers anymore.
Diffstat (limited to 'common/common.c')
0 files changed, 0 insertions, 0 deletions