mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-28 23:13:18 +08:00
call demux_flush() where appropriate
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26960 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
@@ -3139,13 +3139,8 @@ static void demux_seek_ts(demuxer_t *demuxer, float rel_seek_secs, float audio_d
|
||||
ts_dump_streams(demuxer->priv);
|
||||
reset_fifos(demuxer, sh_audio != NULL, sh_video != NULL, demuxer->sub->id > 0);
|
||||
|
||||
demux_flush(demuxer);
|
||||
|
||||
if(sh_audio != NULL)
|
||||
ds_free_packs(d_audio);
|
||||
if(sh_video != NULL)
|
||||
ds_free_packs(d_video);
|
||||
if(demuxer->sub->id > 0)
|
||||
ds_free_packs(d_sub);
|
||||
|
||||
|
||||
video_stats = (sh_video != NULL);
|
||||
|
||||
Reference in New Issue
Block a user