From 896b8f4c2f2ff8793265855017511ccd1ccf6380 Mon Sep 17 00:00:00 2001 From: joey Date: Sun, 22 Aug 2004 19:01:56 +0000 Subject: added runtime toggle of root window playback only directx supports this at the moment git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13092 b3059339-0415-0410-9bf9-f77b7e298cf2 --- input/input.c | 1 + input/input.h | 1 + 2 files changed, 2 insertions(+) (limited to 'input') diff --git a/input/input.c b/input/input.c index cdcc52af56..430dd95120 100644 --- a/input/input.c +++ b/input/input.c @@ -100,6 +100,7 @@ static mp_cmd_t mp_cmds[] = { #endif { MP_CMD_VO_FULLSCREEN, "vo_fullscreen", 0, { {-1,{0}} } }, { MP_CMD_VO_ONTOP, "vo_ontop", 0, { {-1,{0}} } }, + { MP_CMD_VO_ROOTWIN, "vo_rootwin", 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}} } }, diff --git a/input/input.h b/input/input.h index 5764feb707..7ec8de3337 100644 --- a/input/input.h +++ b/input/input.h @@ -54,6 +54,7 @@ #define MP_CMD_SUB_FORCED_ONLY 50 #define MP_CMD_VO_ONTOP 51 #define MP_CMD_SUB_SELECT 52 +#define MP_CMD_VO_ROOTWIN 53 #define MP_CMD_GUI_EVENTS 5000 #define MP_CMD_GUI_LOADFILE 5001 -- cgit v1.2.3