summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authornicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-09-09 21:45:23 +0000
committernicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-09-09 21:45:23 +0000
commit0292752ed0254a5b6363077f743609365eea5404 (patch)
tree244729aac7326d90fcabe912054aae6856212431 /mplayer.c
parentf817575e5ff69110a3099fea6beee235608e1b54 (diff)
downloadmpv-0292752ed0254a5b6363077f743609365eea5404.tar.bz2
mpv-0292752ed0254a5b6363077f743609365eea5404.tar.xz
first touch of support for dvdnav menus; the selection is based on the keyboard selection and is completely blind: there's not the slightest visual feedback
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19775 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/mplayer.c b/mplayer.c
index dc8aaf8d55..f3b86acfaa 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -5139,6 +5139,17 @@ if(step_sec>0) {
}
break;
} break;
+#ifdef USE_DVDNAV
+ case MP_CMD_DVDNAV: {
+ if(stream->type != STREAMTYPE_DVDNAV) break;
+
+ if(mp_dvdnav_handle_input(stream, cmd->args[0].v.i)) {
+ uninit_player(INITED_ALL-(INITED_STREAM|INITED_INPUT));
+ goto goto_enable_cache;
+ }
+ break;
+ }
+#endif
default : {
#ifdef HAVE_NEW_GUI
if ( ( use_gui )&&( cmd->id > MP_CMD_GUI_EVENTS ) ) guiGetEvent( guiIEvent,(char *)cmd->id );