G_DEFINE_ABSTRACT_TYPE (GstVideoFilter, gst_video_filter,
GST_TYPE_BASE_TRANSFORM);
-/* Answer the allocation query downstream. This is only called for
- * non-passthrough cases */
+/* Answer the allocation query downstream. */
static gboolean
gst_video_filter_propose_allocation (GstBaseTransform * trans,
gboolean passthrough, GstQuery * query)
gboolean need_pool;
guint size;
+ /* we're passthrough, let the parent implementation hande things */
if (passthrough)
return GST_BASE_TRANSFORM_CLASS (parent_class)->propose_allocation (trans,
passthrough, query);
}
/* configure the allocation query that was answered downstream, we can configure
- * some properties on it. Only called in passthrough mode. */
+ * some properties on it. Only called when not in passthrough mode. */
static gboolean
gst_video_filter_decide_allocation (GstBaseTransform * trans, GstQuery * query)
{