summaryrefslogtreecommitdiffstats
path: root/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'command.c')
-rw-r--r--command.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/command.c b/command.c
index d8718b955e..57e2f7a22a 100644
--- a/command.c
+++ b/command.c
@@ -3124,12 +3124,8 @@ int run_command(MPContext * mpctx, mp_cmd_t * cmd)
if (mpctx->stream->type != STREAMTYPE_DVDNAV)
break;
- if (mp_dvdnav_handle_input
- (mpctx->stream, cmd->args[0].v.i, &button)) {
- uninit_player(INITED_ALL - (INITED_STREAM | INITED_INPUT |
- (fixed_vo ? INITED_VO : 0)));
- brk_cmd = 2;
- } else if (button > 0)
+ mp_dvdnav_handle_input(mpctx->stream,cmd->args[0].v.i,&button);
+ if (button > 0)
set_osd_msg(OSD_MSG_TEXT, 1, osd_duration,
"Selected button number %d", button);
}