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 658416 - decodebin2: refcounting bugs causing criticals
decodebin2: refcounting bugs causing criticals
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal normal
: 0.10.36
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-09-06 23:06 UTC by Vincent Penquerc'h
Modified: 2011-09-07 11:35 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Vincent Penquerc'h 2011-09-06 23:06:18 UTC
Very recent, reminder for me to bisect tomorrow.


$ gst-launch filesrc location=$TESTFILE  ! decodebin2
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...

(gst-launch-0.10:24853): GStreamer-CRITICAL **: 
Trying to dispose object "legacympegvideoparse", but it still has a parent "registry0".
You need to let the parent manage the object instead of unreffing the object directly.

Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock

[...]
Comment 1 Sebastian Dröge (slomo) 2011-09-07 10:59:26 UTC
Seems to be fixed now, please confirm
Comment 2 Tim-Philipp Müller 2011-09-07 11:35:44 UTC
commit f93748fbd496953409b8e0815ac6a27b2ad5367c
Author: Tim-Philipp Müller <tim.muller@collabora.co.uk>
Date:   Wed Sep 7 12:32:01 2011 +0100

    decodebin2: fix element factory refcounting
    
    g_value_get_object() does not give us our own ref.
    
    Fixes "Trying to dispose object "flacparse", but it still has a parent "registry0".
    You need to let the parent manage the object instead of unreffing the object directly."
    and similar warnings.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=658416

==============

> Trying to dispose object "legacympegvideoparse", but it still has a parent

PS: why is legacyxyzparse autoplugged I wonder... shouldn't it be legacy? ;)