mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-07-03 13:16:04 +00:00
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.
This commit is contained in:
parent
28e5f90988
commit
299d3f5c42
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue