[MPlayer-cvslog] r33719 - trunk/gui/interface.c
ib
subversion at mplayerhq.hu
Fri Jun 24 15:00:04 CEST 2011
Author: ib
Date: Fri Jun 24 15:00:04 2011
New Revision: 33719
Log:
Simplify code for guiGetEvent type guiSetState.
Modified:
trunk/gui/interface.c
Modified: trunk/gui/interface.c
==============================================================================
--- trunk/gui/interface.c Fri Jun 24 14:54:10 2011 (r33718)
+++ trunk/gui/interface.c Fri Jun 24 15:00:04 2011 (r33719)
@@ -575,18 +575,11 @@ int guiGetEvent(int type, void *arg)
case guiSetState:
switch ((int)arg) {
- case GUI_PLAY:
-// if ( !gtkShowVideoWindow ) wsVisibleWindow( &guiApp.subWindow,wsHideWindow );
- guiInfo.Playing = GUI_PLAY;
- break;
-
case GUI_STOP:
+ case GUI_PLAY:
// if ( !gtkShowVideoWindow ) wsVisibleWindow( &guiApp.subWindow,wsHideWindow );
- guiInfo.Playing = GUI_STOP;
- break;
-
case GUI_PAUSE:
- guiInfo.Playing = GUI_PAUSE;
+ guiInfo.Playing = (int)arg;
break;
}
More information about the MPlayer-cvslog
mailing list