[Bug 752213] tee: Avoid race condition while forwarding sticky events

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Mar 21 09:45:11 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=752213

--- Comment #17 from Miguel París Díaz <mparisdiaz at gmail.com> ---
Review of attachment 324415:
 --> (https://bugzilla.gnome.org/review?bug=752213&attachment=324415)

::: plugins/elements/gsttee.c
@@ +306,3 @@
 gst_tee_init (GstTee * tee)
 {
+  g_rec_mutex_init (&tee->mutex_events);

It is needed because if the app creates a new src pad from the same thread of
gst_pad_event_default (in gst_tee_sink_event), a deadlock will happen.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list