mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 11:32:38 +00:00
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
1 changed files with 0 additions and 3 deletions
|
@ -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…
Reference in a new issue