projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd175c4
)
element-maker: call up in basetransform template
author
David Schleef
<ds@schleef.org>
Sat, 30 Mar 2013 22:07:45 +0000
(15:07 -0700)
committer
David Schleef
<ds@schleef.org>
Tue, 2 Apr 2013 02:53:01 +0000
(19:53 -0700)
More templates should be doing this: function implementations
should call up to the default implementation in the base class.
tools/element-templates/basetransform
patch
|
blob
|
history
diff --git
a/tools/element-templates/basetransform
b/tools/element-templates/basetransform
index
ed84ffd
..
2421796
100644
(file)
--- a/
tools/element-templates/basetransform
+++ b/
tools/element-templates/basetransform
@@
-215,7
+215,8
@@
gst_replace_sink_event (GstBaseTransform * trans, GstEvent * event)
GST_DEBUG_OBJECT (replace, "sink_event");
- return TRUE;
+ return GST_BASE_TRANSFORM_CLASS (gst_replace_parent_class)->sink_event (
+ trans, event);
}
static gboolean
@@
-225,7
+226,8
@@
gst_replace_src_event (GstBaseTransform * trans, GstEvent * event)
GST_DEBUG_OBJECT (replace, "src_event");
- return TRUE;
+ return GST_BASE_TRANSFORM_CLASS (gst_replace_parent_class)->src_event (
+ trans, event);
}
static GstFlowReturn