mirror of
https://github.com/mpv-player/mpv
synced 2025-04-01 23:00:41 +00:00
get stream back from the demuxer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8024 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
b7226c6c30
commit
0dd7124134
@ -301,7 +301,10 @@ static void uninit_player(unsigned int mask){
|
|||||||
if(mask&INITED_DEMUXER){
|
if(mask&INITED_DEMUXER){
|
||||||
inited_flags&=~INITED_DEMUXER;
|
inited_flags&=~INITED_DEMUXER;
|
||||||
current_module="free_demuxer";
|
current_module="free_demuxer";
|
||||||
if(demuxer) free_demuxer(demuxer);
|
if(demuxer){
|
||||||
|
stream=demuxer->stream;
|
||||||
|
free_demuxer(demuxer);
|
||||||
|
}
|
||||||
demuxer=NULL;
|
demuxer=NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user