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 94463 - gst_element_set_scheduler() doesn't ref passed object
gst_element_set_scheduler() doesn't ref passed object
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
0.4.1
Other Linux
: Normal major
: 0.4.0
Assigned To: Wim Taymans
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2002-09-29 15:48 UTC by Christian Meyer
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christian Meyer 2002-09-29 15:48:17 UTC
gst_element_set_scheduler() doesn't ref the passed object which makes it
hard to wrap Gstreamer and will lead to inconsistencies within Gstreamer.
Comment 1 Wim Taymans 2003-01-17 18:58:38 UTC
Fixed in CVS
Comment 2 Martin Schulze 2003-04-02 19:40:03 UTC
Hm, as I can see in current CVS, "sched" is unreferenced in
gst_element_dispose(). But I think
gst_scheduler_element_remove(element, element->sched) needs to be
called before, to allow for the scheduler to clean up its lists
"clock_providers" and "clock_receivers" and its data field "parent".
Comment 3 Benjamin Otte (Company) 2003-05-02 16:29:51 UTC
Is there a document describing somewhere what object holds references
to what other objects (and when)?
If not we should really get such a document somewhere.
Comment 4 David Schleef 2003-12-02 01:47:39 UTC
The scheduler should be properly updated when the element is removed
from the bin.