summaryrefslogtreecommitdiffstats
path: root/player/core.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-05-18 00:03:47 +0200
committerwm4 <wm4@nowhere>2014-05-18 00:03:47 +0200
commit5841685e09dd1ae92de6adf20f3dc1f23fcda750 (patch)
treeafcb0a4973ba1c2bf67d1bca6497f991746e2285 /player/core.h
parent1ef1e8e509f0a5d8047a1bcaa0ae0c43ad37fe5f (diff)
downloadmpv-5841685e09dd1ae92de6adf20f3dc1f23fcda750.tar.bz2
mpv-5841685e09dd1ae92de6adf20f3dc1f23fcda750.tar.xz
command: add a disc-menu-active property
Returns whether a DVD/BD menu is active. As requested by #788.
Diffstat (limited to 'player/core.h')
-rw-r--r--player/core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/player/core.h b/player/core.h
index 891c14792d..b107edc7e4 100644
--- a/player/core.h
+++ b/player/core.h
@@ -375,6 +375,7 @@ 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);
// loadfile.c
void uninit_player(struct MPContext *mpctx, unsigned int mask);