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

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Mar 18 15:09:31 UTC 2016


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

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

::: plugins/elements/gsttee.c
@@ +420,3 @@
   /* Forward sticky events to the new srcpad */
   gst_pad_sticky_events_foreach (tee->sinkpad, forward_sticky_events, srcpad);
   GST_OBJECT_FLAG_SET (srcpad, GST_PAD_FLAG_PROXY_CAPS);

Can we set this flag before entering the critical section (before forwarding
sticky events)?

-- 
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