Mercurial > mplayer.hg
diff gui/interface.c @ 33726:a800f30c40d1
Cosmetic: Rename gui() parameter.
Change it from 'type' to 'what' to point out that it is a request.
| author | ib |
|---|---|
| date | Tue, 05 Jul 2011 10:54:16 +0000 |
| parents | f3361b27a151 |
| children | b4c64f168b29 |
line wrap: on
line diff
--- a/gui/interface.c Tue Jul 05 10:47:51 2011 +0000 +++ b/gui/interface.c Tue Jul 05 10:54:16 2011 +0000 @@ -548,7 +548,7 @@ mp_msg(MSGT_GPLAYER, MSGL_INFO, MSGTR_AddingVideoFilter, str); } -int gui(int type, void *arg) +int gui(int what, void *arg) { mixer_t *mixer = NULL; stream_t *stream; @@ -560,7 +560,7 @@ if (guiInfo.mpcontext) mixer = mpctx_get_mixer(guiInfo.mpcontext); - switch (type) { + switch (what) { case GMP_SET_CONTEXT: guiInfo.mpcontext = arg; break;
