summaryrefslogtreecommitdiffstats
path: root/input
diff options
context:
space:
mode:
authornicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-01-05 14:31:03 +0000
committernicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-01-05 14:31:03 +0000
commitd18dab693a6ead517ee6435a3e11a33e3a3afbfa (patch)
treeaac56f9fca952af527585a40d478b617e4bd9fb3 /input
parenta913d9061452920b24165913a020238d06713505 (diff)
downloadmpv-d18dab693a6ead517ee6435a3e11a33e3a3afbfa.tar.bz2
mpv-d18dab693a6ead517ee6435a3e11a33e3a3afbfa.tar.xz
properties to change angle; patch by oattila chello hu
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25604 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'input')
-rw-r--r--input/input.c2
-rw-r--r--input/input.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/input/input.c b/input/input.c
index 8e2d30a4dc..d1cf960991 100644
--- a/input/input.c
+++ b/input/input.c
@@ -117,6 +117,7 @@ static mp_cmd_t mp_cmds[] = {
{ MP_CMD_GET_META_TRACK, "get_meta_track", 0, { {-1,{0}} } },
{ MP_CMD_GET_META_GENRE, "get_meta_genre", 0, { {-1,{0}} } },
{ MP_CMD_SWITCH_AUDIO, "switch_audio", 0, { { MP_CMD_ARG_INT,{-1} }, {-1,{0}} } },
+ { MP_CMD_SWITCH_ANGLE, "switch_angle", 0, { { MP_CMD_ARG_INT,{-1} }, {-1,{0}} } },
#ifdef USE_TV
{ MP_CMD_TV_START_SCAN, "tv_start_scan", 0, { {-1,{0}} }},
{ MP_CMD_TV_STEP_CHANNEL, "tv_step_channel", 1, { { MP_CMD_ARG_INT ,{0}}, {-1,{0}} }},
@@ -468,6 +469,7 @@ static mp_cmd_bind_t def_cmd_binds[] = {
{ { '!', 0 }, "seek_chapter -1" },
{ { '@', 0 }, "seek_chapter 1" },
+ { { 'A', 0 }, "switch_angle 1" },
{ { 0 }, NULL }
};
diff --git a/input/input.h b/input/input.h
index 86266ac590..dfbdd4b136 100644
--- a/input/input.h
+++ b/input/input.h
@@ -106,6 +106,7 @@
#define MP_CMD_SUB_FILE 102
#define MP_CMD_SUB_VOB 103
#define MP_CMD_SUB_DEMUX 104
+#define MP_CMD_SWITCH_ANGLE 105
#define MP_CMD_GUI_EVENTS 5000
#define MP_CMD_GUI_LOADFILE 5001