[MPlayer-cvslog] r19775 - trunk/mplayer.c

nicodvb subversion at mplayerhq.hu
Sat Sep 9 23:45:23 CEST 2006


Author: nicodvb
Date: Sat Sep  9 23:45:23 2006
New Revision: 19775

Modified:
   trunk/mplayer.c

Log:
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

Modified: trunk/mplayer.c
==============================================================================
--- trunk/mplayer.c	(original)
+++ trunk/mplayer.c	Sat Sep  9 23:45:23 2006
@@ -5139,6 +5139,17 @@
         }
         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 );



More information about the MPlayer-cvslog mailing list