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:
Víctor Manuel Jáquez Leal 2022-03-30 12:12:34 +02:00 committed by GStreamer Marge Bot
parent 6451a13b0b
commit 8759014f4c

View file

@ -320,12 +320,6 @@ _create_reconstruct_pool (GstVaDisplay * display, GArray * surface_formats,
allocator = gst_va_allocator_new (display, 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 (&params); gst_allocation_params_init (&params);
pool = gst_va_pool_new_with_config (caps, size, 0, max_buffers, usage_hint, pool = gst_va_pool_new_with_config (caps, size, 0, max_buffers, usage_hint,