From 164656ee1d3bc12bfbe87a0cc11bd345cd6f654f Mon Sep 17 00:00:00 2001 From: Víctor Manuel Jáquez Leal Date: Fri, 28 Feb 2020 11:33:18 +0100 Subject: Revert "vaapivideomemory: Store surface allocation flags." 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 | 3 --- 1 file changed, 3 deletions(-) diff --git a/gst/vaapi/gstvaapivideomemory.c b/gst/vaapi/gstvaapivideomemory.c index 4cf741ed..f01a2ef4 100644 --- a/gst/vaapi/gstvaapivideomemory.c +++ b/gst/vaapi/gstvaapivideomemory.c @@ -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); } -- cgit v1.2.3