mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-28 14:29:25 +08:00
demuxer.c: reset subtitle EOF on seeking
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32031 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
@@ -1254,6 +1254,7 @@ int demux_seek(demuxer_t *demuxer, float rel_seek_secs, float audio_delay,
|
||||
demux_flush(demuxer);
|
||||
demuxer->video->eof = 0;
|
||||
demuxer->audio->eof = 0;
|
||||
demuxer->sub->eof = 0;
|
||||
|
||||
/* HACK: assume any demuxer used with these streams can cope with
|
||||
* the stream layer suddenly seeking to a different position under it
|
||||
|
||||
Reference in New Issue
Block a user