[Bug 790169] decodebin2: Don't let thread run after unref

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Nov 10 13:58:11 UTC 2017


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

--- Comment #1 from Edward Hervey <bilboed at bilboed.com> ---
Created attachment 363344
  --> https://bugzilla.gnome.org/attachment.cgi?id=363344&action=edit
decodebin2: Don't let thread run after unref

We have a dedicated one-shot thread to handle cleanup of old groups.

While this is a good idea. It's an even better idea to make sure
that thread is *completed* before the decodebin2 element to which
it is related isn't freed/gone.

* There can only be one cleanup thread happening at any point in time.
  If there is already one, we wait for the previous one to finish.
* When shutting down (NULL=>READY) make sure the thread is finished

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