[gstreamer-bugs] [Bug 539772] gst_pad_template_new() does more than call g_object_new()

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Tue Jun 24 08:15:10 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=539772

  GStreamer | gstreamer (core) | Ver: HEAD CVS




------- Comment #5 from José Alburquerque  2008-06-24 15:15 UTC -------
(In reply to comment #2)
> This patch adds name-template, direction, presence and caps properties to
> GstPadTemplate. As GstPadTemplate are meant to be immutable these properties
> are construct-only, is this fine for you?
> 
> (Is there a way to have properties that are writable at construction time and
> readonly afterwards?)

Do you mean me?  If so this solution is just fine for c++ bindings (I've just
tested and results are consistent both in C and C++).  As you say, these will
will not be readily modifiable by programmer unless they can somehow get the
properties with property system and change them that way, but I don't see why
they would want to do that.  If the changes are fine with you they are also
fine here.  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=539772.




More information about the Gstreamer-bugs mailing list