mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 21:51:09 +00:00
mp2t: fix encoding name according to RFC3551
This commit is contained in:
parent
9521326703
commit
24df106272
2 changed files with 3 additions and 3 deletions
|
@ -56,7 +56,7 @@ static GstStaticPadTemplate gst_rtp_mp2t_depay_sink_template =
|
||||||
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 ", "
|
"payload = (int) " GST_RTP_PAYLOAD_DYNAMIC_STRING ", "
|
||||||
"clock-rate = (int) [1, MAX ], " "encoding-name = (string) \"MP2T-ES\";"
|
"clock-rate = (int) [1, MAX ], " "encoding-name = (string) \"MP2T\";"
|
||||||
/* All optional parameters
|
/* All optional parameters
|
||||||
*
|
*
|
||||||
* "profile-level-id=[1,MAX]"
|
* "profile-level-id=[1,MAX]"
|
||||||
|
|
|
@ -42,7 +42,7 @@ GST_STATIC_PAD_TEMPLATE ("src",
|
||||||
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 ", "
|
"payload = (int) " GST_RTP_PAYLOAD_DYNAMIC_STRING ", "
|
||||||
"clock-rate = (int) 90000, " "encoding-name = (string) \"MP2T-ES\"")
|
"clock-rate = (int) 90000, " "encoding-name = (string) \"MP2T\"")
|
||||||
);
|
);
|
||||||
|
|
||||||
static gboolean gst_rtp_mp2t_pay_setcaps (GstBaseRTPPayload * payload,
|
static gboolean gst_rtp_mp2t_pay_setcaps (GstBaseRTPPayload * payload,
|
||||||
|
@ -108,7 +108,7 @@ gst_rtp_mp2t_pay_setcaps (GstBaseRTPPayload * payload, GstCaps * caps)
|
||||||
{
|
{
|
||||||
gboolean res;
|
gboolean res;
|
||||||
|
|
||||||
gst_basertppayload_set_options (payload, "video", TRUE, "MP2T-ES", 90000);
|
gst_basertppayload_set_options (payload, "video", TRUE, "MP2T", 90000);
|
||||||
res = gst_basertppayload_set_outcaps (payload, NULL);
|
res = gst_basertppayload_set_outcaps (payload, NULL);
|
||||||
|
|
||||||
return res;
|
return res;
|
||||||
|
|
Loading…
Reference in a new issue