From 164656ee1d3bc12bfbe87a0cc11bd345cd6f654f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Manuel=20J=C3=A1quez=20Leal?= Date: Fri, 28 Feb 2020 11:33:18 +0100 Subject: [PATCH] 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 4cf741ed90..f01a2ef44c 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); }