summaryrefslogtreecommitdiffstats
path: root/input
diff options
context:
space:
mode:
authorxylosper <darklin20@gmail.com>2014-03-30 11:42:49 +0900
committerxylosper <darklin20@gmail.com>2014-03-30 11:42:49 +0900
commitfb47f2f9402567eb7ecda7e5ec83e0c1915632c1 (patch)
treec646d87c14db341cc1dd2f3800a56cf62e7b5760 /input
parentf2088c73e30b3cab11343cadac050456fba7cfb5 (diff)
downloadmpv-fb47f2f9402567eb7ecda7e5ec83e0c1915632c1.tar.bz2
mpv-fb47f2f9402567eb7ecda7e5ec83e0c1915632c1.tar.xz
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'
Diffstat (limited to 'input')
-rw-r--r--input/cmd_list.c3
-rw-r--r--input/cmd_list.h2
2 files changed, 3 insertions, 2 deletions
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,