mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-04 22:48:54 +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
1 changed files with 2 additions and 13 deletions
|
@ -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