From: Sebastian Dröge Date: Tue, 19 Jun 2012 12:57:00 +0000 (+0100) Subject: videofilter: Don't duplicate code to create a new buffer pool if none is in the query X-Git-Tag: 1.19.3~511^2~6316 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bdb4f7c101c13c3864005ab5bf597209415fc843;p=platform%2Fupstream%2Fgstreamer.git videofilter: Don't duplicate code to create a new buffer pool if none is in the query --- diff --git a/gst-libs/gst/video/gstvideofilter.c b/gst-libs/gst/video/gstvideofilter.c index 40364d2..26c5ad9 100644 --- a/gst-libs/gst/video/gstvideofilter.c +++ b/gst-libs/gst/video/gstvideofilter.c @@ -124,9 +124,6 @@ gst_video_filter_decide_allocation (GstBaseTransform * trans, GstQuery * query) if (gst_query_get_n_allocation_pools (query) > 0) { gst_query_parse_nth_allocation_pool (query, 0, &pool, &size, &min, &max); - if (!pool) - pool = gst_video_buffer_pool_new (); - update_pool = TRUE; } else { GstCaps *outcaps;