# HG changeset patch # User nicodvb # Date 1199543463 0 # Node ID 54512595b40655e97ca013a9a730d91a0212c158 # Parent f94eee219ee01fb1c2a636507384a3552f4b0a30 properties to change angle; patch by oattila chello hu diff -r f94eee219ee0 -r 54512595b406 input/input.c --- a/input/input.c Sat Jan 05 14:28:57 2008 +0000 +++ b/input/input.c Sat Jan 05 14:31:03 2008 +0000 @@ -117,6 +117,7 @@ { 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 @@ { { '!', 0 }, "seek_chapter -1" }, { { '@', 0 }, "seek_chapter 1" }, + { { 'A', 0 }, "switch_angle 1" }, { { 0 }, NULL } }; diff -r f94eee219ee0 -r 54512595b406 input/input.h --- a/input/input.h Sat Jan 05 14:28:57 2008 +0000 +++ b/input/input.h Sat Jan 05 14:31:03 2008 +0000 @@ -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