diff options
author | wm4 <wm4@nowhere> | 2019-11-06 21:34:52 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2019-11-06 21:35:32 +0100 |
commit | 48fc642e0c98025e12eafd388655da37848f94ef (patch) | |
tree | 5eef186afab89a9e556f8a9cf554104ef8f1ab55 /stream/cookies.c | |
parent | 517489814d6bc4837a1c24f7601a77136564fb7a (diff) | |
download | mpv-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 'stream/cookies.c')
0 files changed, 0 insertions, 0 deletions