mirror of https://github.com/mpv-player/mpv
also set guiIntfStruct.sh_video to NULL for guiSetDefaults.
Avoids a crash at end of playback for skins using $C. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18534 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
35ab7c442a
commit
9614f96612
|
@ -739,6 +739,7 @@ int guiGetEvent( int type,char * arg )
|
||||||
force_fps=0;
|
force_fps=0;
|
||||||
}
|
}
|
||||||
guiIntfStruct.demuxer=NULL;
|
guiIntfStruct.demuxer=NULL;
|
||||||
|
guiIntfStruct.sh_video=NULL;
|
||||||
wsPostRedisplay( &appMPlayer.subWindow );
|
wsPostRedisplay( &appMPlayer.subWindow );
|
||||||
break;
|
break;
|
||||||
case guiSetParameters:
|
case guiSetParameters:
|
||||||
|
|
Loading…
Reference in New Issue