# HG changeset patch # User pontscho # Date 1014326452 0 # Node ID b1a2469e78ac55ee93c6c2be1fe2e25976c7da50 # Parent b4580c55d8bcc2c1c4b80c480a4ff3a8f4625b02 10l+ diff -r b4580c55d8bc -r b1a2469e78ac Gui/mplayer/mplayer.c --- a/Gui/mplayer/mplayer.c Thu Feb 21 21:15:40 2002 +0000 +++ b/Gui/mplayer/mplayer.c Thu Feb 21 21:20:52 2002 +0000 @@ -81,7 +81,6 @@ wsCreateImage( &appMPlayer.subWindow,appMPlayer.sub.Bitmap.Width,appMPlayer.sub.Bitmap.Height ); vo_setwindow( appMPlayer.subWindow.WindowID, appMPlayer.subWindow.wGC ); - vo_setwindowsize( appMPlayer.sub.width,appMPlayer.sub.height ); i=wsHideFrame|wsMaxSize|wsHideWindow; if ( appMPlayer.mainDecoration ) i=wsShowFrame|wsMaxSize|wsHideWindow; diff -r b4580c55d8bc -r b1a2469e78ac Gui/mplayer/play.c --- a/Gui/mplayer/play.c Thu Feb 21 21:15:40 2002 +0000 +++ b/Gui/mplayer/play.c Thu Feb 21 21:20:52 2002 +0000 @@ -126,9 +126,6 @@ void mplResize( unsigned int X,unsigned int Y,unsigned int width,unsigned int height ) { -// printf( "----resize---> %dx%d --- \n",width,height ); - vo_setwindowsize( width,height ); - vo_resize=1; } void mplMPlayerInit( int argc,char* argv[], char *envp[] ) diff -r b4580c55d8bc -r b1a2469e78ac Gui/mplayer/psignal.h --- a/Gui/mplayer/psignal.h Thu Feb 21 21:15:40 2002 +0000 +++ b/Gui/mplayer/psignal.h Thu Feb 21 21:20:52 2002 +0000 @@ -42,7 +42,7 @@ #ifndef SIGTYPE #ifdef SIGUSR2 #define SIGTYPE SIGUSR2 -#warning should we use SIGUSR1 or SIGUSR2 on linux, bsd, ... too? +//#warning should we use SIGUSR1 or SIGUSR2 on linux, bsd, ... too? #else #ifdef __bsdi__ #define _NSIG NSIG diff -r b4580c55d8bc -r b1a2469e78ac Gui/mplayer/sw.h --- a/Gui/mplayer/sw.h Thu Feb 21 21:15:40 2002 +0000 +++ b/Gui/mplayer/sw.h Thu Feb 21 21:20:52 2002 +0000 @@ -11,11 +11,7 @@ if ( !appMPlayer.subWindow.Mapped || appMPlayer.subWindow.Visible == wsWindowNotVisible ) return; - if ( mplShMem->Playing ) - { - vo_expose=1; - mplSubRender=0; - } + if ( mplShMem->Playing ) mplSubRender=0; if ( mplSubRender ) {