diff options
author | Philippe Kalaf <philippe.kalaf@collabora.co.uk> | 2006-03-15 22:30:24 +0000 |
---|---|---|
committer | Philippe Kalaf <philippe.kalaf@collabora.co.uk> | 2006-03-15 22:30:24 +0000 |
commit | 0d2a1a0cae7a879a5ab7e60def9d0108d56ad280 (patch) | |
tree | 885fecdec4c7b092505e679bc179f68b1b258db7 /gst | |
parent | 3a636c561fcb12bf51170c0a0ffeaddf5f4d157f (diff) |
Fixed one of the caps in the code from mulaw to alaw.
Original commit message from CVS:
Fixed one of the caps in the code from mulaw to alaw.
Diffstat (limited to 'gst')
-rw-r--r-- | gst/rtp/gstrtppcmadepay.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/rtp/gstrtppcmadepay.c b/gst/rtp/gstrtppcmadepay.c index a381fe6b..d01a312e 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); |