summaryrefslogtreecommitdiffstats
path: root/player/core.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-08-03 23:33:03 +0200
committerwm4 <wm4@nowhere>2015-08-03 23:49:14 +0200
commitf792f56440c33fae4f027518fe999daa9e8d3771 (patch)
treeabd7fb8f75a17e03a42696631543b4aa8aff2efc /player/core.h
parent59d44ecef17790739211c56e7b2ca5c2682d855a (diff)
downloadmpv-f792f56440c33fae4f027518fe999daa9e8d3771.tar.bz2
mpv-f792f56440c33fae4f027518fe999daa9e8d3771.tar.xz
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.
Diffstat (limited to 'player/core.h')
-rw-r--r--player/core.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/player/core.h b/player/core.h
index c2fe74cb6b..c34d2ddd6d 100644
--- a/player/core.h
+++ b/player/core.h
@@ -344,7 +344,6 @@ typedef struct MPContext {
struct screenshot_ctx *screenshot_ctx;
struct command_ctx *command_ctx;
struct encode_lavc_context *encode_lavc_ctx;
- struct mp_nav_state *nav_state;
struct mp_ipc_ctx *ipc_ctx;
@@ -372,15 +371,6 @@ void mp_write_watch_later_conf(struct MPContext *mpctx);
struct playlist_entry *mp_check_playlist_resume(struct MPContext *mpctx,
struct playlist *playlist);
-// discnav.c
-void mp_nav_init(struct MPContext *mpctx);
-void mp_nav_reset(struct MPContext *mpctx);
-void mp_nav_destroy(struct MPContext *mpctx);
-void mp_nav_user_input(struct MPContext *mpctx, char *command);
-void mp_handle_nav(struct MPContext *mpctx);
-int mp_nav_in_menu(struct MPContext *mpctx);
-bool mp_nav_mouse_on_button(struct MPContext *mpctx);
-
// loadfile.c
void uninit_player(struct MPContext *mpctx, unsigned int mask);
struct track *mp_add_external_file(struct MPContext *mpctx, char *filename,