GNOME Bugzilla – Bug 169400
decodebin finalization bug
Last modified: 2005-03-10 15:27:46 UTC
Create a pipeline with a decodebin, use it with an MP3 file and the when done, unref the pipeline. The decodebin then tries to remove an element that is not a direct child of it (in the remove_element_chain function). The particular case I'm seeing is a id3demux element being removed from the bin, when it is actually a child of another bin called id3demuxbin0. The output is: (process:5734): GStreamer-CRITICAL **: gst_bin_remove_func: assertion `GST_ELEMENT_PARENT (element) == (GstObject *) bin' failed Let me know if you need any more info.
Can you provide a backtrace on that warning (to see where it's triggered; decodebin->finalize? bin-->finalize?? sth. else?)
+ Trace 56542
Created attachment 38377 [details] [review] untested patch I think this should fix it. Not totally sure, I may be doing a typo something in this hell of recursive behaviour...
Applied.