From: Wim Taymans Date: Fri, 2 Mar 2012 16:34:50 +0000 (+0100) Subject: videofilter: always chain up to parent propose_allocation X-Git-Tag: 1.19.3~511^2~6718 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1ede067d2760d6c27780f129ccba7137ced5d998;p=platform%2Fupstream%2Fgstreamer.git videofilter: always chain up to parent propose_allocation --- diff --git a/gst-libs/gst/video/gstvideofilter.c b/gst-libs/gst/video/gstvideofilter.c index 248c482..ec4e692 100644 --- a/gst-libs/gst/video/gstvideofilter.c +++ b/gst-libs/gst/video/gstvideofilter.c @@ -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);