videofilter: Don't duplicate code to create a new buffer pool if none is in the query
This commit is contained in:
parent
cb6b835d11
commit
bdb4f7c101
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user