summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-06-26 23:37:23 +0200
committerwm4 <wm4@nowhere>2015-06-26 23:37:30 +0200
commit3b3170aedb4c8a9bfa32238f3b580feea22071f8 (patch)
tree2a28ca2a755d47153ffa558e95b487ee28db358e /player
parentd9b19390ad75bcf5f2b0d5ce5d1f034bd9b6ae15 (diff)
downloadmpv-3b3170aedb4c8a9bfa32238f3b580feea22071f8.tar.bz2
mpv-3b3170aedb4c8a9bfa32238f3b580feea22071f8.tar.xz
Disable DVD and BD menu support (to be removed)
DVD/BD menu support never worked right, and are a pain to maintain. In particular, DVD menus never actually worked correctly, because highlights were not rendered correctly. Fixing this requires major effort, which I'm not interested to spend. Most importantly, the requirement to switch streams without losing the DVD/BD state caused major weirdness in the playback core. It was implemented by somehow syncing the playback state to the DVD/BD implementation (in stream_dvdnav.c etc.), and then reloading the demuxer without destroying and recreating the stream. This caused a bunch of special-cases which I'm looking forward to remove. For now, don't just remove everything related to menu support and just disable it. If someone volunteers, it can be restored (i.e. rewritten) in a reasonable way. If nobody volunteers soon, it goes.
Diffstat (limited to 'player')
-rw-r--r--player/discnav.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/player/discnav.c b/player/discnav.c
index 719e88ac8f..91657f7f73 100644
--- a/player/discnav.c
+++ b/player/discnav.c
@@ -135,6 +135,7 @@ void mp_nav_init(struct MPContext *mpctx)
if (mpctx->encode_lavc_ctx)
return;
+#if 0
struct mp_nav_cmd inp = {MP_NAV_CMD_ENABLE};
if (run_stream_control(mpctx, STREAM_CTRL_NAV_CMD, &inp) < 1)
return;
@@ -150,6 +151,7 @@ void mp_nav_init(struct MPContext *mpctx)
update_state(mpctx);
update_mouse_on_button(mpctx);
+#endif
}
void mp_nav_reset(struct MPContext *mpctx)