vaapivideomemory: Store surface allocation flags.

Store surface allocation flags passed to the vaapi allocator in
GObject's qdata, because it might be used by the vaapivideobufferpool
when recreating the allocator given any resolution change.
parent 96fdc3d3
......@@ -987,6 +987,9 @@ 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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment