1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-19 01:47:38 +00:00

stream: misleading statement

This commit is contained in:
wm4 2013-06-05 02:00:13 +02:00
parent 005375bb7d
commit 15f5b18e58

View File

@ -194,7 +194,7 @@ static stream_t *open_stream_plugin(const stream_info_t *sinfo,
if (s->type <= -2)
mp_msg(MSGT_OPEN, MSGL_WARN, "Warning streams need a type !!!!\n");
if (s->flags & MP_STREAM_SEEK && !s->seek)
if (!s->seek)
s->flags &= ~MP_STREAM_SEEK;
if (s->seek && !(s->flags & MP_STREAM_SEEK))
s->flags |= MP_STREAM_SEEK;