mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
videofilter: always chain up to parent propose_allocation
This commit is contained in:
parent
5595c0a7df
commit
1ede067d27
1 changed files with 6 additions and 3 deletions
|
@ -62,10 +62,13 @@ gst_video_filter_propose_allocation (GstBaseTransform * trans,
|
|||
gboolean need_pool;
|
||||
guint size;
|
||||
|
||||
/* we're passthrough, let the parent implementation hande things */
|
||||
if (!GST_BASE_TRANSFORM_CLASS (parent_class)->propose_allocation (trans,
|
||||
decide_query, query))
|
||||
return FALSE;
|
||||
|
||||
/* passthrough, we're done */
|
||||
if (decide_query == NULL)
|
||||
return GST_BASE_TRANSFORM_CLASS (parent_class)->propose_allocation (trans,
|
||||
decide_query, query);
|
||||
return TRUE;
|
||||
|
||||
gst_query_parse_allocation (query, &caps, &need_pool);
|
||||
|
||||
|
|
Loading…
Reference in a new issue