mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-17 22:06:41 +00:00
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:
parent
4016388565
commit
dcbd411275
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue