mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
rtpjitterbuffer: Don't leak caps event when not pushing
This commit is contained in:
parent
33a6d1921f
commit
87f2088303
1 changed files with 2 additions and 0 deletions
|
@ -1053,6 +1053,8 @@ gst_rtp_jitter_buffer_sink_event (GstPad * pad, GstObject * parent,
|
||||||
/* set same caps on srcpad on success */
|
/* set same caps on srcpad on success */
|
||||||
if (ret)
|
if (ret)
|
||||||
ret = gst_pad_push_event (priv->srcpad, event);
|
ret = gst_pad_push_event (priv->srcpad, event);
|
||||||
|
else
|
||||||
|
gst_event_unref (event);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case GST_EVENT_SEGMENT:
|
case GST_EVENT_SEGMENT:
|
||||||
|
|
Loading…
Reference in a new issue