GNOME Bugzilla – Bug 167283
GStreamer creates broken objects
Last modified: 2005-06-30 15:52:27 UTC
Run the following code with MyElement being a subclass of GstElement): element = g_object_new (MY_TYPE_ELEMENT); gst_bin_add (some_bin, element); You'll get the following errors: (process:29426): GStreamer-CRITICAL **: file gstobject.c: line 589 (gst_object_check_uniqueness): assertion `name != NULL' failed (process:29426): GStreamer-WARNING **: Name (null) is not unique in bin some_bin, not adding I think a default name should be given to the object upon creation, but since I'm not sure if that'd break something in 0.8, I'm filing it here for discussion.
Created attachment 37433 [details] [review] proposed patch
Feel free to apply, should be fine. (I have to say that I personally dislike the _init() function renamen, but ohwell...)
applied.