diff options
author | gpoirier <gpoirier@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-04-03 14:08:28 +0000 |
---|---|---|
committer | gpoirier <gpoirier@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-04-03 14:08:28 +0000 |
commit | 9e909f0dde36431c457922e1f66fff0c1d6e71ac (patch) | |
tree | 008569d4fe4ec81c58af17ad8b25d16138f312ec /mplayer.c | |
parent | acf7defdcf8c22504cee6333b9d9164d34e4f8db (diff) | |
download | mpv-9e909f0dde36431c457922e1f66fff0c1d6e71ac.tar.bz2 mpv-9e909f0dde36431c457922e1f66fff0c1d6e71ac.tar.xz |
Added support of audio stream switching in the MPEG demuxer using the #-key
Patch by Michael Behrisch < behrisch $ informatik * hu-berlin * de >
commited with the kind blessing of D. Richard Felker III
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15047 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r-- | mplayer.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -3495,6 +3495,9 @@ if (stream->type==STREAMTYPE_DVDNAV && dvd_nav_still) case MP_CMD_GET_PERCENT_POS : { mp_msg(MSGT_GLOBAL,MSGL_INFO,MSGTR_AnsPercentPos, demuxer_get_percent_pos(demuxer)); } break; + case MP_CMD_SWITCH_AUDIO : + demuxer_switch_audio(demuxer); + break; case MP_CMD_RUN : { #ifndef __MINGW32__ if(!fork()) { |