diff --git a/gst/rtp/gstrtpilbcdepay.c b/gst/rtp/gstrtpilbcdepay.c index 5c7dc25475..fc728bd4b6 100644 --- a/gst/rtp/gstrtpilbcdepay.c +++ b/gst/rtp/gstrtpilbcdepay.c @@ -48,9 +48,8 @@ GST_STATIC_PAD_TEMPLATE ("sink", GST_PAD_ALWAYS, GST_STATIC_CAPS ("application/x-rtp, " "media = (string) \"audio\", " - "clock-rate = (int) 8000, " - "encoding-name = (string) \"ILBC\"") - /* "mode = (string) { \"20\", \"30\" }" */ + "clock-rate = (int) 8000, " "encoding-name = (string) \"ILBC\"") + /* "mode = (string) { \"20\", \"30\" }" */ ); static GstStaticPadTemplate gst_rtp_ilbc_depay_src_template = diff --git a/gst/rtp/gstrtpsirendepay.c b/gst/rtp/gstrtpsirendepay.c index 1bbbda7887..541041bea8 100644 --- a/gst/rtp/gstrtpsirendepay.c +++ b/gst/rtp/gstrtpsirendepay.c @@ -34,29 +34,27 @@ GST_STATIC_PAD_TEMPLATE ("sink", GST_PAD_ALWAYS, GST_STATIC_CAPS ("application/x-rtp, " "media = (string) \"audio\", " - "clock-rate = (int) 16000, " - "encoding-name = (string) \"SIREN\"") + "clock-rate = (int) 16000, " "encoding-name = (string) \"SIREN\"") /* This is the default, so the peer doesn't have to specify it */ /* " "dct-length = (int) 320") */ ); -static GstStaticPadTemplate gst_rtp_siren_depay_src_template = -GST_STATIC_PAD_TEMPLATE ("src", + static GstStaticPadTemplate gst_rtp_siren_depay_src_template = + GST_STATIC_PAD_TEMPLATE ("src", GST_PAD_SRC, GST_PAD_ALWAYS, GST_STATIC_CAPS ("audio/x-siren, " "dct-length = (int) 320") ); -static GstBuffer *gst_rtp_siren_depay_process (GstRTPBaseDepayload * depayload, - GstBuffer * buf); -static gboolean gst_rtp_siren_depay_setcaps (GstRTPBaseDepayload * depayload, - GstCaps * caps); + static GstBuffer *gst_rtp_siren_depay_process (GstRTPBaseDepayload * + depayload, GstBuffer * buf); + static gboolean gst_rtp_siren_depay_setcaps (GstRTPBaseDepayload * + depayload, GstCaps * caps); G_DEFINE_TYPE (GstRTPSirenDepay, gst_rtp_siren_depay, GST_TYPE_RTP_BASE_DEPAYLOAD); -static void -gst_rtp_siren_depay_class_init (GstRTPSirenDepayClass * klass) + static void gst_rtp_siren_depay_class_init (GstRTPSirenDepayClass * klass) { GstElementClass *gstelement_class; GstRTPBaseDepayloadClass *gstrtpbasedepayload_class;