From 26afe0c58c12731dfc9c655a54401406fb71631a Mon Sep 17 00:00:00 2001 From: faust3 Date: Fri, 19 Sep 2003 20:44:30 +0000 Subject: slave mode commands to print out vo_fs and sub_visibility globals, patch by Mike Swieton git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10885 b3059339-0415-0410-9bf9-f77b7e298cf2 --- input/input.c | 3 +++ input/input.h | 2 ++ 2 files changed, 5 insertions(+) (limited to 'input') diff --git a/input/input.c b/input/input.c index 2287784606..5e91cf93e8 100644 --- a/input/input.c +++ b/input/input.c @@ -127,6 +127,9 @@ static mp_cmd_t mp_cmds[] = { { 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}} } }, + { MP_CMD_GET_SUB_VISIBILITY, "get_sub_visibility", 0, { {-1,{0}} } }, { 0, NULL, 0, {} } }; diff --git a/input/input.h b/input/input.h index 6913c94bb8..b25a9b74c3 100644 --- a/input/input.h +++ b/input/input.h @@ -49,6 +49,8 @@ #define MP_CMD_TV_SET_CONTRAST 45 #define MP_CMD_TV_SET_HUE 46 #define MP_CMD_TV_SET_SATURATION 47 +#define MP_CMD_GET_VO_FULLSCREEN 48 +#define MP_CMD_GET_SUB_VISIBILITY 49 #define MP_CMD_GUI_EVENTS 5000 #define MP_CMD_GUI_LOADFILE 5001 -- cgit v1.2.3