mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 03:31:05 +00:00
va: encoder: Remove unused allocation config.
Since it's also done inside of gst_va_pool_new_with_config(). Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2072>
This commit is contained in:
parent
6451a13b0b
commit
8759014f4c
1 changed files with 0 additions and 6 deletions
|
@ -320,12 +320,6 @@ _create_reconstruct_pool (GstVaDisplay * display, GArray * surface_formats,
|
|||
|
||||
allocator = gst_va_allocator_new (display, surface_formats);
|
||||
|
||||
if (!gst_va_allocator_set_format (allocator, &info, usage_hint)) {
|
||||
gst_clear_object (&allocator);
|
||||
gst_clear_caps (&caps);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
gst_allocation_params_init (¶ms);
|
||||
|
||||
pool = gst_va_pool_new_with_config (caps, size, 0, max_buffers, usage_hint,
|
||||
|
|
Loading…
Reference in a new issue