videofilter: fix some comments
This commit is contained in:
parent
1c05eeece5
commit
af308ac04d
@ -50,8 +50,7 @@ GST_DEBUG_CATEGORY_STATIC (gst_video_filter_debug);
|
|||||||
G_DEFINE_ABSTRACT_TYPE (GstVideoFilter, gst_video_filter,
|
G_DEFINE_ABSTRACT_TYPE (GstVideoFilter, gst_video_filter,
|
||||||
GST_TYPE_BASE_TRANSFORM);
|
GST_TYPE_BASE_TRANSFORM);
|
||||||
|
|
||||||
/* Answer the allocation query downstream. This is only called for
|
/* Answer the allocation query downstream. */
|
||||||
* non-passthrough cases */
|
|
||||||
static gboolean
|
static gboolean
|
||||||
gst_video_filter_propose_allocation (GstBaseTransform * trans,
|
gst_video_filter_propose_allocation (GstBaseTransform * trans,
|
||||||
gboolean passthrough, GstQuery * query)
|
gboolean passthrough, GstQuery * query)
|
||||||
@ -63,6 +62,7 @@ gst_video_filter_propose_allocation (GstBaseTransform * trans,
|
|||||||
gboolean need_pool;
|
gboolean need_pool;
|
||||||
guint size;
|
guint size;
|
||||||
|
|
||||||
|
/* we're passthrough, let the parent implementation hande things */
|
||||||
if (passthrough)
|
if (passthrough)
|
||||||
return GST_BASE_TRANSFORM_CLASS (parent_class)->propose_allocation (trans,
|
return GST_BASE_TRANSFORM_CLASS (parent_class)->propose_allocation (trans,
|
||||||
passthrough, query);
|
passthrough, query);
|
||||||
@ -106,7 +106,7 @@ config_failed:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* configure the allocation query that was answered downstream, we can configure
|
/* 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
|
static gboolean
|
||||||
gst_video_filter_decide_allocation (GstBaseTransform * trans, GstQuery * query)
|
gst_video_filter_decide_allocation (GstBaseTransform * trans, GstQuery * query)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user