mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
jitterbuffer: Make upstream events MT-safe
This commit is contained in:
parent
31af4fe33e
commit
342686bb02
1 changed files with 2 additions and 0 deletions
|
@ -1053,6 +1053,8 @@ gst_rtp_jitter_buffer_sink_event (GstPad * pad, GstEvent * event)
|
|||
GstRtpJitterBufferPrivate *priv;
|
||||
|
||||
jitterbuffer = GST_RTP_JITTER_BUFFER (gst_pad_get_parent (pad));
|
||||
if (G_UNLIKELY (jitterbuffer == NULL))
|
||||
return FALSE;
|
||||
priv = jitterbuffer->priv;
|
||||
|
||||
GST_DEBUG_OBJECT (jitterbuffer, "received %s", GST_EVENT_TYPE_NAME (event));
|
||||
|
|
Loading…
Reference in a new issue