mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +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");
|
GST_DEBUG_OBJECT (replace, "sink_event");
|
||||||
|
|
||||||
return TRUE;
|
return GST_BASE_TRANSFORM_CLASS (gst_replace_parent_class)->sink_event (
|
||||||
|
trans, event);
|
||||||
}
|
}
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
|
@ -225,7 +226,8 @@ gst_replace_src_event (GstBaseTransform * trans, GstEvent * event)
|
||||||
|
|
||||||
GST_DEBUG_OBJECT (replace, "src_event");
|
GST_DEBUG_OBJECT (replace, "src_event");
|
||||||
|
|
||||||
return TRUE;
|
return GST_BASE_TRANSFORM_CLASS (gst_replace_parent_class)->src_event (
|
||||||
|
trans, event);
|
||||||
}
|
}
|
||||||
|
|
||||||
static GstFlowReturn
|
static GstFlowReturn
|
||||||
|
|
Loading…
Reference in a new issue