Revert "vaapivideomemory: Store surface allocation flags."
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Fri, 28 Feb 2020 10:33:18 +0000 (11:33 +0100)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Fri, 28 Feb 2020 10:37:06 +0000 (11:37 +0100)
This reverts commit dd428cc4a12c2d5c694fcd3303811cf486002c9d because
it rewrites the buffer size whilst surface allocation flags are
stored when allocator_params_init() is called since fab890ce.

Fix: #239

gst/vaapi/gstvaapivideomemory.c

index 4cf741e..f01a2ef 100644 (file)
@@ -992,9 +992,6 @@ gst_vaapi_video_allocator_new (GstVaapiDisplay * display,
     return NULL;
   }
 
-  gst_allocator_set_vaapi_video_info (GST_ALLOCATOR_CAST (allocator),
-      alloc_info, surface_alloc_flags);
-
   return GST_ALLOCATOR_CAST (allocator);
 }