diff options
author | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-08-30 12:17:12 +0000 |
---|---|---|
committer | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-08-30 12:17:12 +0000 |
commit | 04d08c838d44d5a2a4def5249d149848c1e91193 (patch) | |
tree | 35cba56ddac8a79f2235acf5bd68a5dde4cf1ed8 /Gui | |
parent | 55b24118f20742b76c54c483744ed8797bacdfd4 (diff) |
fix play->pause bug
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1771 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui')
-rw-r--r-- | Gui/mplayer/play.c | 9 |
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[] ) |