changeset 1770:7e3136adcfb1

fix play->pause bug
author pontscho
date Thu, 30 Aug 2001 12:17:12 +0000
parents bd8c6c1b91ce
children b3f6e2baffbf
files Gui/mplayer/play.c
diffstat 1 files changed, 3 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/Gui/mplayer/play.c	Thu Aug 30 12:08:21 2001 +0000
+++ b/Gui/mplayer/play.c	Thu Aug 30 12:17:12 2001 +0000
@@ -57,7 +57,7 @@
 
 void mplPlay( void )
 {
- if ( !Filename ) return;
+ if ( !strlen( mplShMem->Filename ) ) return;
  if ( mplShMem->Playing ) mplStop();
 // ---
 printf("%%%%%% PLAY  \n");
@@ -76,11 +76,8 @@
 
 void mplResize( unsigned int X,unsigned int Y,unsigned int width,unsigned int height )
 {
-
-printf("mplResize(%d,%d,%d,%d)  \n",X,Y,width,height);
-	vo_setwindowsize( width,height );
-        vo_resize=1;
-
+ vo_setwindowsize( width,height );
+ vo_resize=1;
 }
 
 void mplMPlayerInit( int argc,char* argv[], char *envp[] )