Mercurial > mplayer.hg
diff mplayer.c @ 15046:b7aa70b05d76
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
author | gpoirier |
---|---|
date | Sun, 03 Apr 2005 14:08:28 +0000 |
parents | 265d8b8adbbe |
children | aab0ddfabf3f |
line wrap: on
line diff
--- a/mplayer.c Sun Apr 03 11:47:20 2005 +0000 +++ b/mplayer.c Sun Apr 03 14:08:28 2005 +0000 @@ -3495,6 +3495,9 @@ 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()) {