diff options
Diffstat (limited to 'demux')
-rw-r--r-- | demux/demux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demux/demux.c b/demux/demux.c index 9b8e62dc26..b7f650bff7 100644 --- a/demux/demux.c +++ b/demux/demux.c @@ -2311,6 +2311,7 @@ static void execute_seek(struct demux_internal *in) { int flags = in->seek_flags; double pts = in->seek_pts; + in->last_eof = false; in->seeking = false; in->seeking_in_progress = pts; in->demux_ts = MP_NOPTS_VALUE; @@ -3626,7 +3627,6 @@ static bool queue_seek(struct demux_internal *in, double seek_pts, int flags, } in->eof = false; - in->last_eof = false; in->idle = true; in->reading = false; in->back_demuxing = set_backwards; |