summaryrefslogtreecommitdiff
path: root/tools/element-templates/gobject
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2013-03-14 23:57:06 -0700
committerDavid Schleef <ds@schleef.org>2013-03-14 23:57:06 -0700
commitb45a1df5deadb029dcbe4522f0116d34f1cd2f1e (patch)
treed46b051fb9249e86bbac6a8a2be47e6d72d4ac2a /tools/element-templates/gobject
parent6005ab322dff427e9a06963b74523fa1de1d5165 (diff)
downloadgstreamer-plugins-bad-b45a1df5deadb029dcbe4522f0116d34f1cd2f1e.tar.gz
element-maker: Update templates for 1.0
This are (almost) completely autogenerated from the documentation.
Diffstat (limited to 'tools/element-templates/gobject')
-rw-r--r--tools/element-templates/gobject16
1 files changed, 12 insertions, 4 deletions
diff --git a/tools/element-templates/gobject b/tools/element-templates/gobject
index 1522aa47b..5a3fd8d34 100644
--- a/tools/element-templates/gobject
+++ b/tools/element-templates/gobject
@@ -26,7 +26,9 @@ void
gst_replace_set_property (GObject * object, guint property_id,
const GValue * value, GParamSpec * pspec)
{
- /* GstReplace *replace = GST_REPLACE (object); */
+ GstReplace *replace = GST_REPLACE (object);
+
+ GST_DEBUG_OBJECT (replace, "set_property");
switch (property_id) {
default:
@@ -39,7 +41,9 @@ void
gst_replace_get_property (GObject * object, guint property_id,
GValue * value, GParamSpec * pspec)
{
- /* GstReplace *replace = GST_REPLACE (object); */
+ GstReplace *replace = GST_REPLACE (object);
+
+ GST_DEBUG_OBJECT (replace, "get_property");
switch (property_id) {
default:
@@ -51,7 +55,9 @@ gst_replace_get_property (GObject * object, guint property_id,
void
gst_replace_dispose (GObject * object)
{
- /* GstReplace *replace = GST_REPLACE (object); */
+ GstReplace *replace = GST_REPLACE (object);
+
+ GST_DEBUG_OBJECT (replace, "dispose");
/* clean up as possible. may be called multiple times */
@@ -61,7 +67,9 @@ gst_replace_dispose (GObject * object)
void
gst_replace_finalize (GObject * object)
{
- /* GstReplace *replace = GST_REPLACE (object); */
+ GstReplace *replace = GST_REPLACE (object);
+
+ GST_DEBUG_OBJECT (replace, "finalize");
/* clean up object here */