mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +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 */
|
||||
if (ret)
|
||||
ret = gst_pad_push_event (priv->srcpad, event);
|
||||
else
|
||||
gst_event_unref (event);
|
||||
break;
|
||||
}
|
||||
case GST_EVENT_SEGMENT:
|
||||
|
|
Loading…
Reference in a new issue