diff --git a/gst/vaapi/gstvaapivideomemory.c b/gst/vaapi/gstvaapivideomemory.c index d2f5a8c738..0f63a3c05a 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 */