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 618625 - lock priv mutex in appsrc when setting caps
lock priv mutex in appsrc when setting caps
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal normal
: 0.10.30
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-05-14 13:14 UTC by Luca Ognibene
Modified: 2010-05-14 15:25 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Luca Ognibene 2010-05-14 13:14:23 UTC
If i set caps on a appsrc element using g_object_set (..) while the element is running sometimes i get a segfault. I think this is fixed with acquiring appsrc->priv->mutex in gst_app_src_set_caps (i don't provide a patch because i don't have gstreamer git on this pc.. sorry..).
Comment 1 Sebastian Dröge (slomo) 2010-05-14 15:25:10 UTC
commit f43216b9d7327ddb3c6fd9d19f9ee1a005b966d6
Author: Sebastian Dröge <sebastian.droege@collabora.co.uk>
Date:   Fri May 14 17:24:14 2010 +0200

    appsrc: Always take the object lock when accessing the caps
    
    Fixes bug #618625.