From f792f56440c33fae4f027518fe999daa9e8d3771 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 3 Aug 2015 23:33:03 +0200 Subject: player: remove higher-level remains of DVD/BD menu support Nobody wanted to restore this, so it gets the boot. If anyone still wants to volunteer to restore menu support, this would be welcome. (I might even try it myself if I feel masochistic and like wasting a lot of time for nothing.) But if it does get restored, it should be done differently. There were many stupid things about how it was done. For example, it somehow tried to pull mp_nav_events through all the layers (including needing to "buffer" them in the demuxer), which was needlessly complicated. It could be done simpler. This code was already inactive, so this commit actually changes nothing. Also keep in mind that normal DVD/BD playback still works. --- input/cmd_list.c | 3 --- input/cmd_list.h | 2 -- 2 files changed, 5 deletions(-) (limited to 'input') diff --git a/input/cmd_list.c b/input/cmd_list.c index 53e25cc41c..b1db2e4f0c 100644 --- a/input/cmd_list.c +++ b/input/cmd_list.c @@ -167,8 +167,6 @@ const struct mp_cmd_def mp_cmds[] = { }}, { MP_CMD_DISABLE_INPUT_SECTION, "disable-section", { ARG_STRING } }, - { MP_CMD_DISCNAV, "discnav", { ARG_STRING } }, - { MP_CMD_AB_LOOP, "ab-loop", }, { MP_CMD_DROP_BUFFERS, "drop-buffers", }, @@ -275,7 +273,6 @@ 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 5870ff584b..a41807f9fe 100644 --- a/input/cmd_list.h +++ b/input/cmd_list.h @@ -80,8 +80,6 @@ enum mp_command_type { MP_CMD_ENABLE_INPUT_SECTION, MP_CMD_DISABLE_INPUT_SECTION, - MP_CMD_DISCNAV, - MP_CMD_AB_LOOP, MP_CMD_DROP_BUFFERS, -- cgit v1.2.3