Mercurial > mplayer.hg
changeset 25639:8a673cfc4043
Clear demuxed data when subtitle track is changed.
author | eugeni |
---|---|
date | Thu, 10 Jan 2008 19:59:09 +0000 |
parents | a4c3eb7ef547 |
children | a51e1bd9ba4f |
files | command.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/command.c Thu Jan 10 19:47:18 2008 +0000 +++ b/command.c Thu Jan 10 19:59:09 2008 +0000 @@ -1469,6 +1469,7 @@ // default: assume 1:1 mapping of sid and stream id d_sub->id = dvdsub_id; d_sub->sh = mpctx->demuxer->s_streams[d_sub->id]; + ds_free_packs(d_sub); for (i = 0; i < MAX_S_STREAMS; i++) { sh_sub_t *sh = mpctx->demuxer->s_streams[i]; if (sh && sh->sid == dvdsub_id) {