diff --git a/ChangeLog b/ChangeLog index 073eb3e7b2..a736215181 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2007-06-11 Wim Taymans + + Patch by: Tommi Myöhänen + + * gst/rtp/gstrtppcmadepay.c: (gst_rtp_pcma_depay_setcaps): + * gst/rtp/gstrtppcmudepay.c: (gst_rtp_pcmu_depay_setcaps): + Add missing rate fields to caps. Fixes #441118. + 2007-06-10 Sebastien Moutte * win32/vs6/gst_plugins_good.dsw: diff --git a/gst/rtp/gstrtppcmadepay.c b/gst/rtp/gstrtppcmadepay.c index f41f7f1d82..e20efe227e 100644 --- a/gst/rtp/gstrtppcmadepay.c +++ b/gst/rtp/gstrtppcmadepay.c @@ -64,7 +64,7 @@ static GstStaticPadTemplate gst_rtp_pcma_depay_src_template = GST_STATIC_PAD_TEMPLATE ("src", GST_PAD_SRC, GST_PAD_ALWAYS, - GST_STATIC_CAPS ("audio/x-alaw, " "channels = (int) 1") + GST_STATIC_CAPS ("audio/x-alaw, channels = (int) 1, rate = (int) 8000") ); static GstBuffer *gst_rtp_pcma_depay_process (GstBaseRTPDepayload * depayload, diff --git a/gst/rtp/gstrtppcmudepay.c b/gst/rtp/gstrtppcmudepay.c index 4d467a1094..b472e89dad 100644 --- a/gst/rtp/gstrtppcmudepay.c +++ b/gst/rtp/gstrtppcmudepay.c @@ -64,7 +64,7 @@ static GstStaticPadTemplate gst_rtp_pcmu_depay_src_template = GST_STATIC_PAD_TEMPLATE ("src", GST_PAD_SRC, GST_PAD_ALWAYS, - GST_STATIC_CAPS ("audio/x-mulaw, " "channels = (int) 1") + GST_STATIC_CAPS ("audio/x-mulaw, channels = (int) 1, rate = (int) 8000") ); static GstBuffer *gst_rtp_pcmu_depay_process (GstBaseRTPDepayload * depayload,