mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-27 11:32:51 +00:00
element-maker: call up in basetransform template
More templates should be doing this: function implementations should call up to the default implementation in the base class.
This commit is contained in:
parent
bd175c4bae
commit
79af542fc6
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue