[MPlayer-cvslog] CVS: main mplayer.c, 1.836, 1.837 ChangeLog, 1.183, 1.184

Guillaume Poirier CVS syncmail at mplayerhq.hu
Sun Apr 3 16:08:31 CEST 2005


CVS change done by Guillaume Poirier CVS

Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv18520

Modified Files:
	mplayer.c ChangeLog 
Log Message:
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


Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.836
retrieving revision 1.837
diff -u -r1.836 -r1.837
--- mplayer.c	2 Apr 2005 18:29:14 -0000	1.836
+++ mplayer.c	3 Apr 2005 14:08:28 -0000	1.837
@@ -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()) {

Index: ChangeLog
===================================================================
RCS file: /cvsroot/mplayer/main/ChangeLog,v
retrieving revision 1.183
retrieving revision 1.184
diff -u -r1.183 -r1.184
--- ChangeLog	2 Apr 2005 16:38:14 -0000	1.183
+++ ChangeLog	3 Apr 2005 14:08:28 -0000	1.184
@@ -45,7 +45,8 @@
     * avisynth demuxer
     * Multichannel MP3 in MP4 files support (MP3on4)
     * some classes of nonworking 14.4/28.8 RealAudio files fixed
-    * added code to autodetect and demux mpeg audio layers 1 and 2 
+    * added code to autodetect and demux mpeg audio layers 1 and 2
+    * online audio stream switching in the MPEG demuxer
 
     Streaming:
     * stream selection and bandwidth support for MMS over HTTP




More information about the MPlayer-cvslog mailing list