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:
reimar 2006-05-17 17:29:06 +00:00
parent 35ab7c442a
commit 9614f96612
1 changed files with 1 additions and 0 deletions

View File

@ -739,6 +739,7 @@ int guiGetEvent( int type,char * arg )
force_fps=0;
}
guiIntfStruct.demuxer=NULL;
guiIntfStruct.sh_video=NULL;
wsPostRedisplay( &appMPlayer.subWindow );
break;
case guiSetParameters: