diff --git a/ChangeLog b/ChangeLog index 80e84f2694..653411f47e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-03-15 Philippe Kalaf + + * rtp/gst/gstrtppcmadepay.c: + Fixed one of the caps in the code from mulaw to alaw. + 2006-03-15 Jan Schmidt * gst/apetag/gsttagdemux.c: (gst_tag_demux_chain): diff --git a/gst/rtp/gstrtppcmadepay.c b/gst/rtp/gstrtppcmadepay.c index a381fe6b9d..d01a312ee5 100644 --- a/gst/rtp/gstrtppcmadepay.c +++ b/gst/rtp/gstrtppcmadepay.c @@ -138,7 +138,7 @@ gst_rtp_pcma_depay_process (GstBaseRTPDepayload * depayload, GstBuffer * buf) srccaps = GST_PAD_CAPS (GST_BASE_RTP_DEPAYLOAD_SRCPAD (depayload)); if (!srccaps) { /* Set the default caps */ - srccaps = gst_caps_new_simple ("audio/x-mulaw", + srccaps = gst_caps_new_simple ("audio/x-alaw", "channels", G_TYPE_INT, 1, "rate", G_TYPE_INT, 8000, NULL); gst_pad_set_caps (GST_BASE_RTP_DEPAYLOAD_SRCPAD (depayload), srccaps); gst_caps_unref (srccaps);