From bdb4f7c101c13c3864005ab5bf597209415fc843 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 19 Jun 2012 13:57:00 +0100 Subject: [PATCH] videofilter: Don't duplicate code to create a new buffer pool if none is in the query --- gst-libs/gst/video/gstvideofilter.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/gst-libs/gst/video/gstvideofilter.c b/gst-libs/gst/video/gstvideofilter.c index 40364d2edc..26c5ad9c5d 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;