diff options
author | ben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-01-24 19:14:05 +0000 |
---|---|---|
committer | ben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-01-24 19:14:05 +0000 |
commit | e28bd7c6dee5cb060c08777a6c90d30df4aa6c4b (patch) | |
tree | 020ce3adc0eb95c2324092ed5ba03caf01e9885a /command.c | |
parent | 9b72cde1256c262aee64ba2b0c1d4e24c2b4c108 (diff) | |
download | mpv-e28bd7c6dee5cb060c08777a6c90d30df4aa6c4b.tar.bz2 mpv-e28bd7c6dee5cb060c08777a6c90d30df4aa6c4b.tar.xz |
Add new command to switch between dvdnav titles
Based on parts of dvdnav monster patches from Otvos Attila
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25845 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'command.c')
-rw-r--r-- | command.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -3134,6 +3134,12 @@ int run_command(MPContext * mpctx, mp_cmd_t * cmd) "Selected button number %d", button); } break; + + case MP_CMD_SWITCH_TITLE: + if (mpctx->stream->type == STREAMTYPE_DVDNAV) + mp_dvdnav_switch_title(mpctx->stream, cmd->args[0].v.i); + break; + #endif default: |