After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 345601 - Updated gst-template gstplugin.c
Updated gst-template gstplugin.c
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: documentation
git master
Other All
: Normal minor
: 0.10.x
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-06-21 21:29 UTC by Philip Jägenstedt
Modified: 2006-06-22 09:04 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14


Attachments
use GST_BOILERPLATE (3.11 KB, patch)
2006-06-21 21:29 UTC, Philip Jägenstedt
committed Details | Review

Description Philip Jägenstedt 2006-06-21 21:29:04 UTC
Documentation 
Section: gst-template
The code that gstplugin.c generates isn't quite up to sync with what the plugin writers guide suggests. I've changed it to use GST_BOILERPLATE and also added a debug category.

Correct version:
The attached patch suggests an updated version.

Other information:
Comment 1 Philip Jägenstedt 2006-06-21 21:29:38 UTC
Created attachment 67817 [details] [review]
use GST_BOILERPLATE
Comment 2 Tim-Philipp Müller 2006-06-22 09:04:41 UTC
Thanks, committed with minor changes (no need for parent_class = ... in class_init any longer):

 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>

       Patch by: Philip Jägenstedt <philip at lysator liu se>

       * src/gstplugin.c: (gst_plugin_template_base_init),
       (gst_plugin_template_class_init), (gst_plugin_template_init),
       (plugin_init):
         Use GST_BOILERPLATE, add debug category (#345601).