gst/rtp/: Add missing rate fields to caps. Fixes #441118.

Original commit message from CVS:
Patch by: Tommi Myöhänen  <ext-tommi dot myohanen at nokia dot com>
* 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.
This commit is contained in:
Tommi Myöhänen 2007-06-11 10:21:13 +00:00 committed by Wim Taymans
parent fd148866c3
commit a3719a4a15
3 changed files with 10 additions and 2 deletions

View file

@ -1,3 +1,11 @@
2007-06-11 Wim Taymans <wim@fluendo.com>
Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
* 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 <sebastien@moutte.net>
* win32/vs6/gst_plugins_good.dsw:

View file

@ -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,

View file

@ -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,