GNOME Bugzilla – Bug 708501
osxvideosink: fix segfault releasing the element
Last modified: 2013-09-24 08:03:17 UTC
Created attachment 255449 [details] [review] osxvideosink: fix segfault releasing the sink There is a race when the element is released. show_frame defers the rendering to the main thread asynchronously and it might happen when the element has been released.
commit 05f6c094fa0b5f64507cc035b388c7f635c9ee70 Author: Andoni Morales Alastruey <ylatuya@gmail.com> Date: Fri Sep 20 19:43:21 2013 +0200 osxvideosink: fix segfault releasing the sink show_frame is deferred to the main thread and can be called when the sink has been released, so we need to keep an extra ref on ObjectiveC object helper. https://bugzilla.gnome.org/show_bug.cgi?id=708501