[MPlayer-dev-eng] [PATCH] Reminder: for GSM/RTP streaming

Ross Finlayson finlayson at live.com
Tue Oct 15 19:01:41 CEST 2002


I sent in this patch before, but it didn't get applied (whereas another 
that I sent in afterwards did get applied).

	Ross.
-------------- next part --------------
Index: libmpdemux/demux_rtp.cpp
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_rtp.cpp,v
retrieving revision 1.6
diff -u -r1.6 demux_rtp.cpp
--- libmpdemux/demux_rtp.cpp	13 Oct 2002 21:57:54 -0000	1.6
+++ libmpdemux/demux_rtp.cpp	15 Oct 2002 17:14:07 -0000
@@ -241,7 +241,7 @@
 	    wf->wBitsPerSample = 8;
 	    wf->cbSize = 0;
 	  } else if (strcmp(subsession->codecName(), "GSM") == 0) {
-	    wf->wFormatTag = sh_audio->format = 0x31;
+	    wf->wFormatTag = sh_audio->format = mmioFOURCC('a','g','s','m');
 	    wf->nChannels = 1;
 	    wf->nAvgBytesPerSec = 1650;
 	    wf->nBlockAlign = 33;


More information about the MPlayer-dev-eng mailing list