mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
rtp: remove payload requirements from selected depayloaders
encoding name is required in the caps and is a better fit for autoplugging than the pt value. Hardware manufacturers have a bad habit of skimming through RFCs and in this case; use unassigned numbers for encoders instead of dynamic numbers. In essence, this patch will add support for a lot of Bosch hardware encoders without breaking autoplugging. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=639292
This commit is contained in:
parent
7bb368ee4c
commit
bab2f3c92b
4 changed files with 0 additions and 5 deletions
|
@ -57,7 +57,6 @@ static GstStaticPadTemplate gst_rtp_h263_depay_sink_template =
|
||||||
"clock-rate = (int) 90000, " "encoding-name = (string) \"H263\"; "
|
"clock-rate = (int) 90000, " "encoding-name = (string) \"H263\"; "
|
||||||
"application/x-rtp, "
|
"application/x-rtp, "
|
||||||
"media = (string) \"video\", "
|
"media = (string) \"video\", "
|
||||||
"payload = (int) " GST_RTP_PAYLOAD_DYNAMIC_STRING ", "
|
|
||||||
"clock-rate = (int) 90000, " "encoding-name = (string) \"H263\"")
|
"clock-rate = (int) 90000, " "encoding-name = (string) \"H263\"")
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,6 @@ static GstStaticPadTemplate gst_rtp_h263p_depay_sink_template =
|
||||||
GST_PAD_ALWAYS,
|
GST_PAD_ALWAYS,
|
||||||
GST_STATIC_CAPS ("application/x-rtp, "
|
GST_STATIC_CAPS ("application/x-rtp, "
|
||||||
"media = (string) \"video\", "
|
"media = (string) \"video\", "
|
||||||
"payload = (int) " GST_RTP_PAYLOAD_DYNAMIC_STRING ", "
|
|
||||||
"clock-rate = (int) [1, MAX], "
|
"clock-rate = (int) [1, MAX], "
|
||||||
"encoding-name = (string) \"H263-1998\"; "
|
"encoding-name = (string) \"H263-1998\"; "
|
||||||
/* optional params */
|
/* optional params */
|
||||||
|
@ -65,7 +64,6 @@ static GstStaticPadTemplate gst_rtp_h263p_depay_sink_template =
|
||||||
*/
|
*/
|
||||||
"application/x-rtp, "
|
"application/x-rtp, "
|
||||||
"media = (string) \"video\", "
|
"media = (string) \"video\", "
|
||||||
"payload = (int) " GST_RTP_PAYLOAD_DYNAMIC_STRING ", "
|
|
||||||
"clock-rate = (int) [1, MAX], "
|
"clock-rate = (int) [1, MAX], "
|
||||||
"encoding-name = (string) \"H263-2000\" "
|
"encoding-name = (string) \"H263-2000\" "
|
||||||
/* optional params */
|
/* optional params */
|
||||||
|
|
|
@ -55,7 +55,6 @@ GST_STATIC_PAD_TEMPLATE ("sink",
|
||||||
GST_PAD_ALWAYS,
|
GST_PAD_ALWAYS,
|
||||||
GST_STATIC_CAPS ("application/x-rtp, "
|
GST_STATIC_CAPS ("application/x-rtp, "
|
||||||
"media = (string) \"video\", "
|
"media = (string) \"video\", "
|
||||||
"payload = (int) " GST_RTP_PAYLOAD_DYNAMIC_STRING ", "
|
|
||||||
"clock-rate = (int) 90000, " "encoding-name = (string) \"H264\"")
|
"clock-rate = (int) 90000, " "encoding-name = (string) \"H264\"")
|
||||||
/** optional parameters **/
|
/** optional parameters **/
|
||||||
/* "profile-level-id = (string) ANY, " */
|
/* "profile-level-id = (string) ANY, " */
|
||||||
|
|
|
@ -43,7 +43,6 @@ GST_STATIC_PAD_TEMPLATE ("sink",
|
||||||
GST_PAD_ALWAYS,
|
GST_PAD_ALWAYS,
|
||||||
GST_STATIC_CAPS ("application/x-rtp, "
|
GST_STATIC_CAPS ("application/x-rtp, "
|
||||||
"media = (string) \"video\", "
|
"media = (string) \"video\", "
|
||||||
"payload = (int) " GST_RTP_PAYLOAD_DYNAMIC_STRING ", "
|
|
||||||
"clock-rate = (int) [1, MAX ], " "encoding-name = (string) \"MP4V-ES\""
|
"clock-rate = (int) [1, MAX ], " "encoding-name = (string) \"MP4V-ES\""
|
||||||
/* All optional parameters
|
/* All optional parameters
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue