Commit c9c2fb47 authored by rbultje's avatar rbultje

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>.



git-svn-id: file:///var/local/repositories/ffmpeg/trunk@23414 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 3669eb0d
...@@ -52,7 +52,7 @@ enum RTSPTransport { ...@@ -52,7 +52,7 @@ enum RTSPTransport {
#define RTSP_DEFAULT_PORT 554 #define RTSP_DEFAULT_PORT 554
#define RTSP_MAX_TRANSPORTS 8 #define RTSP_MAX_TRANSPORTS 8
#define RTSP_TCP_MAX_PACKET_SIZE 1472 #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_DEFAULT_AUDIO_SAMPLERATE 44100
#define RTSP_RTP_PORT_MIN 5000 #define RTSP_RTP_PORT_MIN 5000
#define RTSP_RTP_PORT_MAX 10000 #define RTSP_RTP_PORT_MAX 10000
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment