changeset 4797:b1a2469e78ac

10l+
author pontscho
date Thu, 21 Feb 2002 21:20:52 +0000
parents b4580c55d8bc
children c39affa2b376
files Gui/mplayer/mplayer.c Gui/mplayer/play.c Gui/mplayer/psignal.h Gui/mplayer/sw.h
diffstat 4 files changed, 2 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- 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;
--- 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[] )
--- 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
--- 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 )
   {