summaryrefslogtreecommitdiffstats
path: root/Gui/mplayer/play.c
diff options
context:
space:
mode:
Diffstat (limited to 'Gui/mplayer/play.c')
-rw-r--r--Gui/mplayer/play.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/Gui/mplayer/play.c b/Gui/mplayer/play.c
index d649eb09e6..36093bfa45 100644
--- a/Gui/mplayer/play.c
+++ b/Gui/mplayer/play.c
@@ -57,7 +57,7 @@ printf("%%%%%% STOP \n");
void mplPlay( void )
{
- if ( !Filename ) return;
+ if ( !strlen( mplShMem->Filename ) ) return;
if ( mplShMem->Playing ) mplStop();
// ---
printf("%%%%%% PLAY \n");
@@ -76,11 +76,8 @@ printf("%%%%%% PAUSE \n");
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[] )