diff --git a/gst/rtp/gstrtpgstdepay.c b/gst/rtp/gstrtpgstdepay.c index 69b24596df..4929e6e7d1 100644 --- a/gst/rtp/gstrtpgstdepay.c +++ b/gst/rtp/gstrtpgstdepay.c @@ -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; } diff --git a/gst/rtp/gstrtpgstpay.c b/gst/rtp/gstrtpgstpay.c index 6ab8dd1593..e6e4634de3 100644 --- a/gst/rtp/gstrtpgstpay.c +++ b/gst/rtp/gstrtpgstpay.c @@ -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",