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.
This commit is contained in:
Víctor Manuel Jáquez Leal 2016-10-20 12:52:18 +02:00
parent 4016388565
commit dcbd411275

View file

@ -775,7 +775,7 @@ gst_vaapi_video_allocator_new (GstVaapiDisplay * display,
goto error_create_image_pool; goto error_create_image_pool;
gst_allocator_set_vaapi_video_info (GST_ALLOCATOR_CAST (allocator), 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); return GST_ALLOCATOR_CAST (allocator);
/* ERRORS */ /* ERRORS */