From fb47f2f9402567eb7ecda7e5ec83e0c1915632c1 Mon Sep 17 00:00:00 2001 From: xylosper Date: Sun, 30 Mar 2014 11:42:49 +0900 Subject: player: rename dvdnav to discnav Now, navigation works both of DVD and non-BD-J Blu-ray. Therefore, rename all 'dvdnav' strings which are not DVD specific to 'discnav' --- input/cmd_list.c | 3 ++- input/cmd_list.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'input') diff --git a/input/cmd_list.c b/input/cmd_list.c index 76d97bd4df..35761cdbea 100644 --- a/input/cmd_list.c +++ b/input/cmd_list.c @@ -159,7 +159,7 @@ const struct mp_cmd_def mp_cmds[] = { }}, { MP_CMD_DISABLE_INPUT_SECTION, "disable_section", { ARG_STRING } }, - { MP_CMD_DVDNAV, "dvdnav", { ARG_STRING } }, + { MP_CMD_DISCNAV, "discnav", { ARG_STRING } }, { MP_CMD_AF, "af", { ARG_STRING, ARG_STRING } }, @@ -234,6 +234,7 @@ static const struct legacy_cmd legacy_cmds[] = { {"show_tracks", "show_text ${track-list}"}, {"show_playlist", "show_text ${playlist}"}, {"speed_mult", "multiply speed"}, + {"dvdnav", "discnav"}, // Approximate (can fail if user added additional whitespace) {"pt_step 1", "playlist_next"}, diff --git a/input/cmd_list.h b/input/cmd_list.h index 8768345de1..0ed5b1d90b 100644 --- a/input/cmd_list.h +++ b/input/cmd_list.h @@ -84,7 +84,7 @@ enum mp_command_type { MP_CMD_ENABLE_INPUT_SECTION, MP_CMD_DISABLE_INPUT_SECTION, - MP_CMD_DVDNAV, + MP_CMD_DISCNAV, /// DVB commands MP_CMD_DVB_SET_CHANNEL, -- cgit v1.2.3