From 299d3f5c42ef1def98417da3fb92883a0d95bb4e Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Fri, 13 Sep 2013 23:26:21 +1000 Subject: [PATCH] rtp: Remove bogus extra caps from L24 template. The extra caps entry in the template was making it sometimes get plugged for any dynamically allocated payload type. --- gst/rtp/gstrtpL24depay.c | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/gst/rtp/gstrtpL24depay.c b/gst/rtp/gstrtpL24depay.c index ba4cc94b60..1925ce0822 100644 --- a/gst/rtp/gstrtpL24depay.c +++ b/gst/rtp/gstrtpL24depay.c @@ -59,23 +59,12 @@ GST_STATIC_PAD_TEMPLATE ("src", ); static GstStaticPadTemplate gst_rtp_L24_depay_sink_template = - GST_STATIC_PAD_TEMPLATE ("sink", +GST_STATIC_PAD_TEMPLATE ("sink", GST_PAD_SINK, GST_PAD_ALWAYS, GST_STATIC_CAPS ("application/x-rtp, " "media = (string) \"audio\", " "clock-rate = (int) [ 1, MAX ], " - /* "channels = (int) [1, MAX]" */ - /* "emphasis = (string) ANY" */ - /* "channel-order = (string) ANY" */ - "encoding-name = (string) \"L24\";" - "application/x-rtp, " - "media = (string) \"audio\", " - "payload = (int) { " GST_RTP_PAYLOAD_DYNAMIC_STRING " }," - "clock-rate = (int) [ 1, MAX ]" - /* "channels = (int) [1, MAX]" */ - /* "emphasis = (string) ANY" */ - /* "channel-order = (string) ANY" */ - ) + "encoding-name = (string) \"L24\"") ); #define gst_rtp_L24_depay_parent_class parent_class