aboutsummaryrefslogtreecommitdiffhomepage
path: root/input
diff options
context:
space:
mode:
authorGravatar aurel <aurel@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-12-02 14:37:16 +0000
committerGravatar aurel <aurel@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-12-02 14:37:16 +0000
commit543dcc07a578d4e7c057603b5fa007eed6fcbe12 (patch)
treec5360848c3b933807e8d263b5bb2ee8d4596cfc8 /input
parent72e4aaccdd6378b2f0a786fbfc6159fea5dd9601 (diff)
enable the run slave commande even without libmenu
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14088 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'input')
-rw-r--r--input/input.c2
-rw-r--r--input/input.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/input/input.c b/input/input.c
index ef9a6e04bd..70b28a6f38 100644
--- a/input/input.c
+++ b/input/input.c
@@ -111,6 +111,7 @@ static mp_cmd_t mp_cmds[] = {
{ MP_CMD_SWITCH_VSYNC, "switch_vsync", 0, { {MP_CMD_ARG_INT,{0}}, {-1,{0}} } },
{ MP_CMD_LOADFILE, "loadfile", 1, { {MP_CMD_ARG_STRING, {0}}, {-1,{0}} } },
{ MP_CMD_LOADLIST, "loadlist", 1, { {MP_CMD_ARG_STRING, {0}}, {-1,{0}} } },
+ { MP_CMD_RUN, "run", 1, { {MP_CMD_ARG_STRING,{0}}, {-1,{0}} } },
{ MP_CMD_VF_CHANGE_RECTANGLE, "change_rectangle", 2, { {MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}}}},
#ifdef HAVE_NEW_GUI
@@ -135,7 +136,6 @@ static mp_cmd_t mp_cmds[] = {
{ MP_CMD_CHELP, "help", 0, { {-1,{0}} } },
{ MP_CMD_CEXIT, "exit", 0, { {-1,{0}} } },
{ MP_CMD_CHIDE, "hide", 0, { {MP_CMD_ARG_INT,{3000}}, {-1,{0}} } },
- { MP_CMD_CRUN, "run", 1, { {MP_CMD_ARG_STRING,{0}}, {-1,{0}} } },
#endif
{ MP_CMD_GET_VO_FULLSCREEN, "get_vo_fullscreen", 0, { {-1,{0}} } },
diff --git a/input/input.h b/input/input.h
index f748843e80..62c04e3d5d 100644
--- a/input/input.h
+++ b/input/input.h
@@ -61,6 +61,7 @@
#define MP_CMD_SPEED_INCR 57
#define MP_CMD_SPEED_MULT 58
#define MP_CMD_SPEED_SET 59
+#define MP_CMD_RUN 60
#define MP_CMD_GUI_EVENTS 5000
#define MP_CMD_GUI_LOADFILE 5001
@@ -90,7 +91,6 @@
#define MP_CMD_CHELP 7000
#define MP_CMD_CEXIT 7001
#define MP_CMD_CHIDE 7002
-#define MP_CMD_CRUN 7003
// The arg types
#define MP_CMD_ARG_INT 0