[Mplayer-cvslog] CVS: main/Gui/mplayer play.c,1.8,1.9
Zoltan Ponekker
pontscho at mplayer.dev.hu
Thu Aug 30 14:17:14 CEST 2001
Update of /cvsroot/mplayer/main/Gui/mplayer
In directory mplayer:/var/tmp.root/cvs-serv27479
Modified Files:
play.c
Log Message:
fix play->pause bug
Index: play.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/mplayer/play.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- play.c 30 Aug 2001 10:55:09 -0000 1.8
+++ play.c 30 Aug 2001 12:17:12 -0000 1.9
@@ -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[] )
More information about the MPlayer-cvslog
mailing list