1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-20 06:11:10 +00:00

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
This commit is contained in:
nicodvb 2006-09-09 21:45:23 +00:00
parent f817575e5f
commit 0292752ed0

View File

@ -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 );