From d56fe785be5aff1e7618e67dfb3ea12340270553 Mon Sep 17 00:00:00 2001 From: ben Date: Sat, 26 Jan 2008 11:51:34 +0000 Subject: Add support for dvdnav still frames playback. Based on various patches from Otvos Attila and MPlayer'ized by me. N.B. Always use -vc ffmpeg12 with dvdnav:// git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25852 b3059339-0415-0410-9bf9-f77b7e298cf2 --- command.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'command.c') 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); } -- cgit v1.2.3