diff options
author | 2002-11-01 16:10:15 +0000 | |
---|---|---|
committer | 2002-11-01 16:10:15 +0000 | |
commit | 0dd7124134c40bb9a28c8925199ea88f8cbf8dee (patch) | |
tree | 85b7bed0a17cb9cf3cb3768a4ec3ee478c62e959 /mplayer.c | |
parent | b7226c6c3088691c195cf55fd89cb00b6d28dd53 (diff) |
get stream back from the demuxer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8024 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r-- | mplayer.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -301,7 +301,10 @@ static void uninit_player(unsigned int mask){ if(mask&INITED_DEMUXER){ inited_flags&=~INITED_DEMUXER; current_module="free_demuxer"; - if(demuxer) free_demuxer(demuxer); + if(demuxer){ + stream=demuxer->stream; + free_demuxer(demuxer); + } demuxer=NULL; } |