mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
vaapipluginbase: Override downstream allocation reply if no pool
If the downstream replied without a pool, then override it. https://bugzilla.gnome.org/show_bug.cgi?id=748559
This commit is contained in:
parent
cbc2d15bec
commit
3241296f67
1 changed files with 2 additions and 3 deletions
|
@ -687,10 +687,9 @@ gst_vaapi_plugin_base_decide_allocation (GstVaapiPluginBase * plugin,
|
|||
|
||||
if (gst_query_get_n_allocation_pools (query) > 0) {
|
||||
gst_query_parse_nth_allocation_pool (query, 0, &pool, &size, &min, &max);
|
||||
update_pool = (pool != NULL);
|
||||
update_pool = TRUE;
|
||||
size = MAX (size, vi.size);
|
||||
if (pool) {
|
||||
size = MAX (size, vi.size);
|
||||
|
||||
/* Check whether downstream element proposed a bufferpool but did
|
||||
not provide a correct propose_allocation() implementation */
|
||||
has_video_alignment = gst_buffer_pool_has_option (pool,
|
||||
|
|
Loading…
Reference in a new issue