After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 790169 - decodebin2: Don't let thread run after unref
decodebin2: Don't let thread run after unref
Status: RESOLVED DUPLICATE of bug 790007
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
unspecified
Other All
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-11-10 13:58 UTC by Edward Hervey
Modified: 2017-11-10 13:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
decodebin2: Don't let thread run after unref (3.90 KB, patch)
2017-11-10 13:58 UTC, Edward Hervey
none Details | Review

Description Edward Hervey 2017-11-10 13:58:07 UTC
See commit
Comment 1 Edward Hervey 2017-11-10 13:58:11 UTC
Created attachment 363344 [details] [review]
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
Comment 2 Edward Hervey 2017-11-10 13:58:49 UTC

*** This bug has been marked as a duplicate of bug 790007 ***