From dcbd4112755fb5d9f0953cc5437356a532fd32b6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=ADctor=20Manuel=20J=C3=A1quez=20Leal?= Date: Thu, 20 Oct 2016 12:52:18 +0200 Subject: [PATCH] vaapivideomemory: store surface alloc flags in qdata For sake of consistency, we should add the requested surface allocation flags to the object's qdata structure. --- gst/vaapi/gstvaapivideomemory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/vaapi/gstvaapivideomemory.c b/gst/vaapi/gstvaapivideomemory.c index d2f5a8c..0f63a3c 100644 --- a/gst/vaapi/gstvaapivideomemory.c +++ b/gst/vaapi/gstvaapivideomemory.c @@ -775,7 +775,7 @@ gst_vaapi_video_allocator_new (GstVaapiDisplay * display, goto error_create_image_pool; gst_allocator_set_vaapi_video_info (GST_ALLOCATOR_CAST (allocator), - &allocator->image_info, 0); + &allocator->image_info, surface_alloc_flags); return GST_ALLOCATOR_CAST (allocator); /* ERRORS */ -- 2.7.4