summaryrefslogtreecommitdiffstats
path: root/input/input.c
diff options
context:
space:
mode:
authoralbeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-07-26 21:26:39 +0000
committeralbeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-07-26 21:26:39 +0000
commit06693273a4a58619706aae35cb8c87a85fadc967 (patch)
tree2cb15d38b59725e32fcd55829141129af2d36159 /input/input.c
parenta70e4ff97360256323c0d222ae8a3c1ef57770e0 (diff)
downloadmpv-06693273a4a58619706aae35cb8c87a85fadc967.tar.bz2
mpv-06693273a4a58619706aae35cb8c87a85fadc967.tar.xz
Add loadfile and loadlist commands. May be buggy if the filename contain some
spaces. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6819 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'input/input.c')
-rw-r--r--input/input.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/input/input.c b/input/input.c
index 8267227a63..580b23a302 100644
--- a/input/input.c
+++ b/input/input.c
@@ -68,6 +68,8 @@ static mp_cmd_t mp_cmds[] = {
{ MP_CMD_VO_FULLSCREEN, "vo_fullscreen", 0, { {-1,{0}} } },
{ MP_CMD_SCREENSHOT, "screenshot", 0, { {-1,{0}} } },
{ MP_CMD_PANSCAN, "panscan",1, { {MP_CMD_ARG_FLOAT,{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}} } },
#ifdef HAVE_NEW_GUI
{ MP_CMD_GUI_LOADFILE, "gui_loadfile", 0, { {-1,{0}} } },