mirror of
https://github.com/mpv-player/mpv
synced 2025-01-18 21:31:13 +00:00
fullscreen fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1757 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
796fa2446a
commit
a2b1e179a6
@ -54,8 +54,16 @@ void mplFullScreen( void )
|
||||
appMPlayer.subWindow.OldY=( wsMaxY - appMPlayer.sub.height ) / 2;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
mplx=appMPlayer.subWindow.OldX;
|
||||
mply=appMPlayer.subWindow.OldY;
|
||||
mplwidth=appMPlayer.subWindow.OldWidth;
|
||||
mplheight=appMPlayer.subWindow.OldHeight;
|
||||
}
|
||||
wsFullScreen( &appMPlayer.subWindow );
|
||||
wsMoveTopWindow( &appMPlayer.subWindow );
|
||||
// wsMoveTopWindow( &appMPlayer.subWindow );
|
||||
mplResize( 0,0,appMPlayer.subWindow.Width,appMPlayer.subWindow.Height );
|
||||
}
|
||||
|
||||
extern int mplSubRender;
|
||||
@ -91,7 +99,7 @@ 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);
|
||||
printf("mplResize(%d,%d,%d,%d) \n",X,Y,width,height);
|
||||
vo_setwindowsize( width,height );
|
||||
vo_resize=1;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user