[MPlayer-cvslog] r33853 - in trunk/gui: interface.c interface.h

ib subversion at mplayerhq.hu
Fri Jul 8 23:11:51 CEST 2011


Author: ib
Date: Fri Jul  8 23:11:51 2011
New Revision: 33853

Log:
Cosmetic: Rename mplayer() parameter.

Change it from 'cmd' to 'what'.

Modified:
   trunk/gui/interface.c
   trunk/gui/interface.h

Modified: trunk/gui/interface.c
==============================================================================
--- trunk/gui/interface.c	Fri Jul  8 23:08:19 2011	(r33852)
+++ trunk/gui/interface.c	Fri Jul  8 23:11:51 2011	(r33853)
@@ -933,11 +933,11 @@ int guiPlaylistAdd(play_tree_t *my_playt
 
 /* GUI -> MPlayer */
 
-void mplayer(int cmd, float fparam, void *vparam)
+void mplayer(int what, float fparam, void *vparam)
 {
     equalizer_t *eq = (equalizer_t *)vparam;
 
-    switch (cmd) {
+    switch (what) {
         // subtitle
 
 #ifndef CONFIG_FREETYPE

Modified: trunk/gui/interface.h
==============================================================================
--- trunk/gui/interface.h	Fri Jul  8 23:08:19 2011	(r33852)
+++ trunk/gui/interface.h	Fri Jul  8 23:11:51 2011	(r33853)
@@ -184,7 +184,7 @@ int guiPlaylistInitialize(play_tree_t *m
 
 /* GUI -> MPlayer */
 
-void mplayer(int cmd, float fparam, void *vparam);
+void mplayer(int what, float fparam, void *vparam);
 void mplayerLoadFont(void);
 void mplayerLoadSubtitle(char *name);
 void gmp_msg(int mod, int lev, const char *format, ...);


More information about the MPlayer-cvslog mailing list