summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
Diffstat (limited to 'stream')
-rw-r--r--stream/stream_bluray.c2
-rw-r--r--stream/stream_dvdnav.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/stream/stream_bluray.c b/stream/stream_bluray.c
index dab0b41502..513ca5b0d7 100644
--- a/stream/stream_bluray.c
+++ b/stream/stream_bluray.c
@@ -744,6 +744,8 @@ static int bluray_stream_open(stream_t *s)
int title_guess = BLURAY_DEFAULT_TITLE;
if (b->use_nav) {
+ MP_FATAL(s, "BluRay menu support has been removed.\n");
+ return STREAM_ERROR;
const BLURAY_DISC_INFO *disc_info = bd_get_disc_info(b->bd);
b->num_titles = disc_info->num_hdmv_titles + disc_info->num_bdj_titles;
++b->num_titles; // for BLURAY_TITLE_TOP_MENU
diff --git a/stream/stream_dvdnav.c b/stream/stream_dvdnav.c
index e2ea93d200..e9a78d398c 100644
--- a/stream/stream_dvdnav.c
+++ b/stream/stream_dvdnav.c
@@ -781,6 +781,8 @@ static int open_s(stream_t *stream)
return STREAM_UNSUPPORTED;
}
} else {
+ MP_FATAL(stream, "DVD menu support has been removed.\n");
+ return STREAM_ERROR;
if (dvdnav_menu_call(priv->dvdnav, DVD_MENU_Root) != DVDNAV_STATUS_OK)
dvdnav_menu_call(priv->dvdnav, DVD_MENU_Title);
}