[MPlayer-cvslog] r37036 - in trunk: gui/interface.c gui/interface.h gui/win32/interface.c mplayer.c
ib
subversion at mplayerhq.hu
Fri Mar 21 16:21:11 CET 2014
Author: ib
Date: Fri Mar 21 16:21:11 2014
New Revision: 37036
Log:
Cosmetic: Rename symbolic constant GUI_END_FILE GUI_END_PLAY.
It isn't restricted to files but ends the current playback in general.
Modified:
trunk/gui/interface.c
trunk/gui/interface.h
trunk/gui/win32/interface.c
trunk/mplayer.c
Modified: trunk/gui/interface.c
==============================================================================
--- trunk/gui/interface.c Fri Mar 21 16:17:13 2014 (r37035)
+++ trunk/gui/interface.c Fri Mar 21 16:21:11 2014 (r37036)
@@ -785,7 +785,7 @@ int gui(int what, void *data)
wsEvent(data);
break;
- case GUI_END_FILE:
+ case GUI_END_PLAY:
guiInfo.sh_video = NULL;
Modified: trunk/gui/interface.h
==============================================================================
--- trunk/gui/interface.h Fri Mar 21 16:17:13 2014 (r37035)
+++ trunk/gui/interface.h Fri Mar 21 16:21:11 2014 (r37036)
@@ -39,7 +39,7 @@ extern int use_gui; // this
/// gui() instructions
enum {
- GUI_END_FILE,
+ GUI_END_PLAY,
GUI_HANDLE_X_EVENT,
GUI_PREPARE,
GUI_REDRAW,
Modified: trunk/gui/win32/interface.c
==============================================================================
--- trunk/gui/win32/interface.c Fri Mar 21 16:17:13 2014 (r37035)
+++ trunk/gui/win32/interface.c Fri Mar 21 16:21:11 2014 (r37036)
@@ -759,7 +759,7 @@ int gui(int what, void *data)
}
break;
}
- case GUI_END_FILE:
+ case GUI_END_PLAY:
{
guiInfo.sh_video = NULL;
Modified: trunk/mplayer.c
==============================================================================
--- trunk/mplayer.c Fri Mar 21 16:17:13 2014 (r37035)
+++ trunk/mplayer.c Fri Mar 21 16:21:11 2014 (r37036)
@@ -4140,7 +4140,7 @@ goto_next_file: // don't jump here afte
#ifdef CONFIG_GUI
if (use_gui)
if (guiInfo.MediumChanged != GUI_MEDIUM_SAME)
- gui(GUI_END_FILE, 0);
+ gui(GUI_END_PLAY, 0);
#endif
if (
More information about the MPlayer-cvslog
mailing list