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

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Apr 12 09:42:28 UTC 2016


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

--- Comment #39 from Miguel París Díaz <mparisdiaz at gmail.com> ---
(In reply to Sebastian Dröge (slomo) from comment #38)
> Review of attachment 325079 [details] [review]:

> @@ -416,3 @@
>    GST_OBJECT_FLAG_SET (srcpad, GST_PAD_FLAG_PROXY_CAPS);
> -  /* Forward sticky events to the new srcpad */
> -  gst_pad_sticky_events_foreach (tee->sinkpad, forward_sticky_events,
> srcpad);
> 
> By *not* copying the sticky events here, the tee srcpad is not going to have
> any caps/segment/etc anymore. This might break some application assumptions.

It is done when the sink pad receives an event (event_forward_func) or a buffer
(gst_tee_handle_data).
Could be any problem?

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