videofilter: Don't duplicate code to create a new buffer pool if none is in the query

This commit is contained in:
Sebastian Dröge 2012-06-19 13:57:00 +01:00
parent cb6b835d11
commit bdb4f7c101

View file

@ -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;