mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
rtpgstpay: Add etype=4 for payloading GST_EVENT_STREAM_START
This commit is contained in:
parent
6155b27971
commit
0070ba76f2
2 changed files with 7 additions and 0 deletions
|
@ -277,6 +277,9 @@ read_event (GstRtpGSTDepay * rtpgstdepay, guint type,
|
|||
case 3:
|
||||
etype = GST_EVENT_CUSTOM_BOTH;
|
||||
break;
|
||||
case 4:
|
||||
etype = GST_EVENT_STREAM_START;
|
||||
break;
|
||||
default:
|
||||
goto unknown_event;
|
||||
}
|
||||
|
|
|
@ -54,6 +54,7 @@ GST_DEBUG_CATEGORY_STATIC (gst_rtp_pay_debug);
|
|||
* 1 = GST_EVENT_TAG
|
||||
* 2 = GST_EVENT_CUSTOM_DOWNSTREAM
|
||||
* 3 = GST_EVENT_CUSTOM_BOTH
|
||||
* 4 = GST_EVENT_STREAM_START
|
||||
*/
|
||||
|
||||
static GstStaticPadTemplate gst_rtp_gst_pay_sink_template =
|
||||
|
@ -322,6 +323,9 @@ gst_rtp_gst_pay_sink_event (GstRTPBasePayload * payload, GstEvent * event)
|
|||
case GST_EVENT_CUSTOM_BOTH:
|
||||
etype = 3;
|
||||
break;
|
||||
case GST_EVENT_STREAM_START:
|
||||
etype = 4;
|
||||
break;
|
||||
default:
|
||||
etype = 0;
|
||||
GST_LOG_OBJECT (rtpgstpay, "no event for %s",
|
||||
|
|
Loading…
Reference in a new issue