mirror of
https://github.com/mpv-player/mpv
synced 2025-03-18 08:39:01 +00:00
fix play->pause bug
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1771 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
55b24118f2
commit
04d08c838d
@ -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[] )
|
||||
|
Loading…
Reference in New Issue
Block a user