mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 00:06:36 +00:00
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.
This commit is contained in:
parent
3a636c561f
commit
0d2a1a0cae
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2006-03-15 Philippe Kalaf <philippe.kalaf at collabora.co.uk>
|
||||||
|
|
||||||
|
* rtp/gst/gstrtppcmadepay.c:
|
||||||
|
Fixed one of the caps in the code from mulaw to alaw.
|
||||||
|
|
||||||
2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
|
2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
|
||||||
|
|
||||||
* gst/apetag/gsttagdemux.c: (gst_tag_demux_chain):
|
* gst/apetag/gsttagdemux.c: (gst_tag_demux_chain):
|
||||||
|
|
|
@ -138,7 +138,7 @@ gst_rtp_pcma_depay_process (GstBaseRTPDepayload * depayload, GstBuffer * buf)
|
||||||
srccaps = GST_PAD_CAPS (GST_BASE_RTP_DEPAYLOAD_SRCPAD (depayload));
|
srccaps = GST_PAD_CAPS (GST_BASE_RTP_DEPAYLOAD_SRCPAD (depayload));
|
||||||
if (!srccaps) {
|
if (!srccaps) {
|
||||||
/* Set the default caps */
|
/* 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);
|
"channels", G_TYPE_INT, 1, "rate", G_TYPE_INT, 8000, NULL);
|
||||||
gst_pad_set_caps (GST_BASE_RTP_DEPAYLOAD_SRCPAD (depayload), srccaps);
|
gst_pad_set_caps (GST_BASE_RTP_DEPAYLOAD_SRCPAD (depayload), srccaps);
|
||||||
gst_caps_unref (srccaps);
|
gst_caps_unref (srccaps);
|
||||||
|
|
Loading…
Reference in a new issue