mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
rtpbasepayload: do not forget delayed segment when forwarding gaps
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/797>
This commit is contained in:
parent
805b1ee9b3
commit
7563a68ec8
1 changed files with 11 additions and 0 deletions
|
@ -559,6 +559,17 @@ gst_rtp_base_payload_sink_event_default (GstRTPBasePayload * rtpbasepayload,
|
|||
}
|
||||
break;
|
||||
}
|
||||
case GST_EVENT_GAP:
|
||||
{
|
||||
if (G_UNLIKELY (rtpbasepayload->priv->pending_segment)) {
|
||||
gst_pad_push_event (rtpbasepayload->srcpad,
|
||||
rtpbasepayload->priv->pending_segment);
|
||||
rtpbasepayload->priv->pending_segment = FALSE;
|
||||
rtpbasepayload->priv->delay_segment = FALSE;
|
||||
}
|
||||
res = gst_pad_event_default (rtpbasepayload->sinkpad, parent, event);
|
||||
break;
|
||||
}
|
||||
default:
|
||||
res = gst_pad_event_default (rtpbasepayload->sinkpad, parent, event);
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue