[Bug 790007] decodebin2: Wait for cleanup thread to finish

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


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

--- Comment #3 from Edward Hervey <bilboed at bilboed.com> ---
Created attachment 363345
  --> https://bugzilla.gnome.org/attachment.cgi?id=363345&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

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

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