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 623233 - GstNetBuffer initialization isn't thread safe.
GstNetBuffer initialization isn't thread safe.
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal blocker
: 0.10.30
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-06-30 19:17 UTC by Olivier Crête
Modified: 2010-06-30 20:11 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
netbuffer: Declare with G_DEFINE_TYPE for type safety (2.23 KB, patch)
2010-06-30 19:18 UTC, Olivier Crête
committed Details | Review

Description Olivier Crête 2010-06-30 19:17:36 UTC
GstNetBuffer can be first used by more than one thread (if you have more than one rtp session in a gstrtpbin for example). Using G_DEFINE_TYPE to define it should fix that.
Comment 1 Olivier Crête 2010-06-30 19:18:16 UTC
Created attachment 164989 [details] [review]
netbuffer: Declare with G_DEFINE_TYPE for type safety
Comment 2 Sebastian Dröge (slomo) 2010-06-30 19:30:36 UTC
Looks like a good idea... let's get this in 0.10.30
Comment 3 Tim-Philipp Müller 2010-06-30 20:10:55 UTC
commit 2f8dc27e291e5f0d0a43e0492272cb04737bf453
Author: Olivier Crête <olivier.crete@collabora.co.uk>
Date:   Wed Jun 30 15:13:10 2010 -0400

    netbuffer: declare with G_DEFINE_TYPE for type safety
    
    Fixes #623233.