[gstreamer-bugs] [Bug 539055] Gst*Pad* new functions don't initialze the object's instance with the construction properties.

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Thu Jun 19 22:56:05 PDT 2008


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=539055

  GStreamer | gstreamer (core) | Ver: HEAD CVS




------- Comment #6 from Murray Cumming  2008-06-20 05:56 UTC -------
> I was under the impression, obviously in error, that the property names could 
> be taken from the parameter name -- sorry

Normally they are, though it's just an informal convention. It's easy for us to
workaround when they differ, by hand-coding the implementation in our .ccg
file, using the _CONSTRUCT() macro, as you'll see in many gtkmm .ccg files.

> How can I find the constructor property names for example for GstGhostPad

You can look at the implementation of the _new() functions, looking for the
call to g_object_new(). But when they do much more than call g_object_new()
then that's a bug in the C library. For instance:
http://bugzilla.gnome.org/show_bug.cgi?id=539108

See also
http://gtkmm.org/docs/gtkmm-2.4/docs/tutorial/html/sec-wrapping-problems.html#wrapping-no-properties


I suggest that you close this bug unless you have a problem with a specific C
function. So far it's unlikely to make much sense to the gstreamer developers.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=539055.




More information about the Gstreamer-bugs mailing list