mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 18:05:37 +00:00
vaapi: Do not disable the whole vpp when some va operations not available.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2604>
This commit is contained in:
parent
94069a7414
commit
4076295134
1 changed files with 4 additions and 2 deletions
|
@ -786,10 +786,12 @@ get_operations_ordered (GstVaapiFilter * filter, GPtrArray * default_ops)
|
|||
filter_caps = vpp_get_filter_caps (filter, va_type,
|
||||
op_data->va_cap_size, &num_filter_caps);
|
||||
if (!filter_caps)
|
||||
goto error;
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!op_data_ensure_caps (op_data, filter_caps, num_filter_caps))
|
||||
goto error;
|
||||
continue;
|
||||
|
||||
g_ptr_array_add (ops, op_data_ref (op_data));
|
||||
}
|
||||
free (filter_caps);
|
||||
|
|
Loading…
Reference in a new issue