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:
nicodvb 2008-06-02 10:22:46 +00:00
parent 02c779f1cf
commit c4df30a358
1 changed files with 1 additions and 6 deletions

View File

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