summaryrefslogtreecommitdiffstats
path: root/input
diff options
context:
space:
mode:
authorhenry <henry@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-02-12 14:45:54 +0000
committerhenry <henry@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-02-12 14:45:54 +0000
commit65ad39a0960bb9f542e05762b54f11198aaad39e (patch)
tree38fcaeec2a1d9fcce323ae2fee3599dd141ed10a /input
parentce168139adcf03aa4d09cfa517f845768f65e0c8 (diff)
downloadmpv-65ad39a0960bb9f542e05762b54f11198aaad39e.tar.bz2
mpv-65ad39a0960bb9f542e05762b54f11198aaad39e.tar.xz
command to log current subtitle to file
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14685 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'input')
-rw-r--r--input/input.c1
-rw-r--r--input/input.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/input/input.c b/input/input.c
index 5c8a025e17..0731e679c1 100644
--- a/input/input.c
+++ b/input/input.c
@@ -79,6 +79,7 @@ static mp_cmd_t mp_cmds[] = {
{ MP_CMD_SUB_VISIBILITY, "sub_visibility", 0, { {-1,{0}} } },
{ MP_CMD_SUB_SELECT, "vobsub_lang", 0, { {-1,{0}} } }, // for compatibility
{ MP_CMD_SUB_SELECT, "sub_select", 0, { {-1,{0}} } },
+ { MP_CMD_SUB_LOG, "sub_log", 0, { {-1,{0}} } },
{ MP_CMD_GET_PERCENT_POS, "get_percent_pos", 0, { {-1,{0}} } },
{ MP_CMD_GET_TIME_LENGTH, "get_time_length", 0, { {-1,{0}} } },
#ifdef USE_TV
diff --git a/input/input.h b/input/input.h
index 62c04e3d5d..26a0d83ea5 100644
--- a/input/input.h
+++ b/input/input.h
@@ -62,6 +62,7 @@
#define MP_CMD_SPEED_MULT 58
#define MP_CMD_SPEED_SET 59
#define MP_CMD_RUN 60
+#define MP_CMD_SUB_LOG 61
#define MP_CMD_GUI_EVENTS 5000
#define MP_CMD_GUI_LOADFILE 5001