[Gstreamer-bugs] [Bug 125890] Changed - Plugin Writers Guide needs rewrite
bugzilla-daemon at widget.gnome.org
bugzilla-daemon at widget.gnome.org
Fri Jan 30 02:21:14 PST 2004
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
http://bugzilla.gnome.org/show_bug.cgi?id=125890
Changed by teuf at users.sourceforge.net.
--- shadow/125890 Fri Jan 30 04:58:53 2004
+++ shadow/125890.tmp.30403 Fri Jan 30 05:21:14 2004
@@ -87,6 +87,21 @@
------- Additional Comments From teuf at users.sourceforge.net 2004-01-30 04:58 -------
In the "Constructing the boiler plate/GstElementDetails" section, I'd
change the sentence "The element details are registered with the
plugin during _base_init ()." to explicitly say that this _base_init
() function is the GObject _base_init () function, not something
specific to GStreamer.
+
+------- Additional Comments From teuf at users.sourceforge.net 2004-01-30 05:21 -------
+The "Constructing the Boilerplate/GstStaticPadTemplate" pad template
+section lacks an example of using gst_pad_new_from_template () in an
+_init function.
+The current _base_init example defines static pad templates as local
+variables, I suppose they should be static globals so that they can be
+used both in _init and in _base_init.
+Maybe what I'm saying doesn't make much sense, but anyway this section
+needs a bit of clarification since I had to look at an existing
+plug-in to find out what I should do with gst_pad_new_from_template ;)
+Maybe it could also be mentioned that the gchar *name argument to
+gst_pad_new_from_template may seem redundant with the name passed when
+initializing the static pad template, but that it's useful with other
+pad types.
More information about the Gstreamer-bugs
mailing list