1
mirror of https://github.com/mpv-player/mpv synced 2024-12-28 06:03:45 +01:00

small bugfixes...

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5521 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
pontscho 2002-04-07 18:00:41 +00:00
parent 0c93924494
commit aad0dbd882
3 changed files with 4 additions and 2 deletions

View File

@ -359,6 +359,7 @@ NoPause:
appMPlayer.subWindow.OldY=( wsMaxY - guiIntfStruct.MovieHeight ) / 2; appMPlayer.subWindow.OldY=( wsMaxY - guiIntfStruct.MovieHeight ) / 2;
appMPlayer.subWindow.OldWidth=guiIntfStruct.MovieWidth; appMPlayer.subWindow.OldHeight=guiIntfStruct.MovieHeight; appMPlayer.subWindow.OldWidth=guiIntfStruct.MovieWidth; appMPlayer.subWindow.OldHeight=guiIntfStruct.MovieHeight;
wsFullScreen( &appMPlayer.subWindow ); wsFullScreen( &appMPlayer.subWindow );
vo_fs=0;
} }
break; break;
case evDoubleSize: case evDoubleSize:
@ -369,6 +370,7 @@ NoPause:
appMPlayer.subWindow.OldY=( wsMaxY - guiIntfStruct.MovieHeight * 2 ) / 2; appMPlayer.subWindow.OldY=( wsMaxY - guiIntfStruct.MovieHeight * 2 ) / 2;
appMPlayer.subWindow.OldWidth=guiIntfStruct.MovieWidth * 2; appMPlayer.subWindow.OldHeight=guiIntfStruct.MovieHeight * 2; appMPlayer.subWindow.OldWidth=guiIntfStruct.MovieWidth * 2; appMPlayer.subWindow.OldHeight=guiIntfStruct.MovieHeight * 2;
wsFullScreen( &appMPlayer.subWindow ); wsFullScreen( &appMPlayer.subWindow );
vo_fs=0;
} }
break; break;
case evFullScreen: case evFullScreen:

View File

@ -66,7 +66,7 @@ void gtkInit( int argc,char* argv[], char *envp[] )
{ {
gtk_set_locale(); gtk_set_locale();
gtk_init( &argc,&argv ); gtk_init( &argc,&argv );
gdk_set_use_xshm( TRUE ); gdk_set_use_xshm( FALSE );
widgetsCreate(); widgetsCreate();
} }

View File

@ -2931,7 +2931,7 @@ if(benchmark){
#endif #endif
mplStop(); mplStop();
#warning workaround for kiba playtree with gui ... if i dont play the prev/next file, then playtree sig6 (assert) #warning workaround for kiba playtree with gui ... if i dont play the prev/next file, then playtree sig6 (assert)
eof=0; // eof=0;
} }
#endif #endif