[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
Fri Jun 20 08:04:38 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 #8 from José Alburquerque  2008-06-20 15:04 UTC -------
(In reply to comment #6)
> > 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 stand corrected.  Thanks.


-- 
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