fix play->pause bug

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1771 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
pontscho 2001-08-30 12:17:12 +00:00
parent 55b24118f2
commit 04d08c838d
1 changed files with 3 additions and 6 deletions

View File

@ -57,7 +57,7 @@ printf("%%%%%% STOP \n");
void mplPlay( void ) void mplPlay( void )
{ {
if ( !Filename ) return; if ( !strlen( mplShMem->Filename ) ) return;
if ( mplShMem->Playing ) mplStop(); if ( mplShMem->Playing ) mplStop();
// --- // ---
printf("%%%%%% PLAY \n"); printf("%%%%%% PLAY \n");
@ -76,11 +76,8 @@ printf("%%%%%% PAUSE \n");
void mplResize( unsigned int X,unsigned int Y,unsigned int width,unsigned int height ) void mplResize( unsigned int X,unsigned int Y,unsigned int width,unsigned int height )
{ {
vo_setwindowsize( width,height );
printf("mplResize(%d,%d,%d,%d) \n",X,Y,width,height); vo_resize=1;
vo_setwindowsize( width,height );
vo_resize=1;
} }
void mplMPlayerInit( int argc,char* argv[], char *envp[] ) void mplMPlayerInit( int argc,char* argv[], char *envp[] )