summaryrefslogtreecommitdiffstats
path: root/Gui/mplayer
diff options
context:
space:
mode:
authorpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-04-29 22:00:50 +0000
committerpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-04-29 22:00:50 +0000
commit958c31db05a8a6c618b4a18ada856a475530f642 (patch)
treef40e218e7eeda0b823ab66c57723b1161dee47e6 /Gui/mplayer
parent9ab3c3b38cd1bec3177df1093b3de0fef36c0a8a (diff)
downloadmpv-958c31db05a8a6c618b4a18ada856a475530f642.tar.bz2
mpv-958c31db05a8a6c618b4a18ada856a475530f642.tar.xz
fix fullscreen bug es ilyen libvo not initialized bug with gui igy
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5911 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui/mplayer')
-rw-r--r--Gui/mplayer/play.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/Gui/mplayer/play.c b/Gui/mplayer/play.c
index 5a05750263..38f1549d14 100644
--- a/Gui/mplayer/play.c
+++ b/Gui/mplayer/play.c
@@ -31,6 +31,7 @@ void mplFullScreen( void )
{
static int sx,sy;
+#if 0
// if ( !guiIntfStruct.Playing )
{
wsVisibleWindow( &appMPlayer.subWindow,wsHideWindow );
@@ -52,7 +53,10 @@ void mplFullScreen( void )
vo_fs=appMPlayer.subWindow.isFullScreen;
wsVisibleWindow( &appMPlayer.subWindow,wsShowWindow );
}// else { vo_x11_fullscreen(); appMPlayer.subWindow.isFullScreen=vo_fs; }
-
+#else
+ wsFullScreen( &appMPlayer.subWindow );
+#endif
+
fullscreen=appMPlayer.subWindow.isFullScreen;
if ( guiIntfStruct.Playing ) wsSetBackgroundRGB( &appMPlayer.subWindow,0,0,0 );
else wsSetBackgroundRGB( &appMPlayer.subWindow,appMPlayer.subR,appMPlayer.subG,appMPlayer.subB );