[FFmpeg-cvslog] r23414 - trunk/libavformat/rtsp.h

rbultje subversion
Tue Jun 1 22:00:26 CEST 2010


Author: rbultje
Date: Tue Jun  1 22:00:26 2010
New Revision: 23414

Log:
Change default number of channels (used if unspecified in the format desc)
from 2 to 1, which is the actual value used in the spec. Fixes issue1978.

Path by John Wimer <john at god dot vtic dot net>.

Modified:
   trunk/libavformat/rtsp.h

Modified: trunk/libavformat/rtsp.h
==============================================================================
--- trunk/libavformat/rtsp.h	Tue Jun  1 21:49:21 2010	(r23413)
+++ trunk/libavformat/rtsp.h	Tue Jun  1 22:00:26 2010	(r23414)
@@ -52,7 +52,7 @@ enum RTSPTransport {
 #define RTSP_DEFAULT_PORT   554
 #define RTSP_MAX_TRANSPORTS 8
 #define RTSP_TCP_MAX_PACKET_SIZE 1472
-#define RTSP_DEFAULT_NB_AUDIO_CHANNELS 2
+#define RTSP_DEFAULT_NB_AUDIO_CHANNELS 1
 #define RTSP_DEFAULT_AUDIO_SAMPLERATE 44100
 #define RTSP_RTP_PORT_MIN 5000
 #define RTSP_RTP_PORT_MAX 10000



More information about the ffmpeg-cvslog mailing list