mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-21 15:56:42 +00:00
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:
parent
fd148866c3
commit
a3719a4a15
3 changed files with 10 additions and 2 deletions
|
@ -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:
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue