From 9f722f9037c6006b48e95b630b80df5c98286f89 Mon Sep 17 00:00:00 2001 From: ben Date: Fri, 20 Jun 2008 18:54:38 +0000 Subject: [PATCH] Keep old dvdnav sub-command options for a while in order not to break slave-mode API too suddenly. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27101 b3059339-0415-0410-9bf9-f77b7e298cf2 --- command.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/command.c b/command.c index cbad8f6014..675b5977f3 100644 --- a/command.c +++ b/command.c @@ -2294,6 +2294,19 @@ static const struct { { "select", MP_CMD_DVDNAV_SELECT }, { "prev", MP_CMD_DVDNAV_PREVMENU }, { "mouse", MP_CMD_DVDNAV_MOUSECLICK }, + + /* + * keep old dvdnav sub-command options for a while in order not to + * break slave-mode API too suddenly. + */ + { "1", MP_CMD_DVDNAV_UP }, + { "2", MP_CMD_DVDNAV_DOWN }, + { "3", MP_CMD_DVDNAV_LEFT }, + { "4", MP_CMD_DVDNAV_RIGHT }, + { "5", MP_CMD_DVDNAV_MENU }, + { "6", MP_CMD_DVDNAV_SELECT }, + { "7", MP_CMD_DVDNAV_PREVMENU }, + { "8", MP_CMD_DVDNAV_MOUSECLICK }, { NULL, 0 } }; #endif