fix subvindov

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1792 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
pontscho 2001-08-30 22:07:19 +00:00
parent 5024b76c56
commit 6835c60519
3 changed files with 3 additions and 4 deletions

View File

@ -78,7 +78,6 @@ void mplInit( int argc,char* argv[], char *envp[], void* disp )
vo_setwindow(appMPlayer.subWindow.WindowID, appMPlayer.subWindow.wGC);
vo_setwindowsize( appMPlayer.sub.width,appMPlayer.sub.height );
mplSubRender=0;
wsCreateWindow( &appMPlayer.mainWindow,
appMPlayer.main.x,appMPlayer.main.y,appMPlayer.main.width,appMPlayer.main.height,

View File

@ -323,9 +323,6 @@ NoPause:
case evSetBalance: mixerSetBalance( param ); break;
case evMute: mixerMute(); break;
// case evIncAudioBufDelay: mplIncAudioBufDelay(); break;
// case evDecAudioBufDelay: mplDecAudioBufDelay(); break;
case evNormalSize:
if ( mplShMem->Playing )
{

View File

@ -53,6 +53,7 @@ void mplStop()
printf("%%%%%% STOP \n");
// ---
mplShMem->Playing=0;
mplSubRender=1;
}
void mplPlay( void )
@ -63,6 +64,7 @@ void mplPlay( void )
printf("%%%%%% PLAY \n");
// ---
mplShMem->Playing=1;
mplSubRender=0;
}
void mplPause( void )
@ -72,6 +74,7 @@ void mplPause( void )
printf("%%%%%% PAUSE \n");
// ---
mplShMem->Playing=2;
mplSubRender=0;
}
void mplResize( unsigned int X,unsigned int Y,unsigned int width,unsigned int height )