1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-03 05:22:23 +00: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:
reimar 2010-08-29 06:46:06 +00:00 committed by Uoti Urpala
parent 5c083f82ca
commit 415b948f2e

View File

@ -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