summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--stream/stream_dvdnav.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/stream/stream_dvdnav.c b/stream/stream_dvdnav.c
index 59cb7c66f2..5ad6625514 100644
--- a/stream/stream_dvdnav.c
+++ b/stream/stream_dvdnav.c
@@ -473,7 +473,8 @@ int mp_dvdnav_handle_input(stream_t *stream, int cmd, int *button) {
break;
}
- dvdnav_get_current_highlight(nav, button);
+ if(status == DVDNAV_STATUS_OK)
+ dvdnav_get_current_highlight(nav, button);
return reset;
}