mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
vaapivideomemory: rename input parameter
In order to clarify the use of flag as input parameter, it is renamed to surface_alloc_flag, since it is used when creating a VA surface with certain properties. https://bugzilla.gnome.org/show_bug.cgi?id=773497
This commit is contained in:
parent
039e8c0d56
commit
289a8e5b87
2 changed files with 3 additions and 3 deletions
|
@ -725,7 +725,7 @@ bail:
|
|||
|
||||
GstAllocator *
|
||||
gst_vaapi_video_allocator_new (GstVaapiDisplay * display,
|
||||
const GstVideoInfo * vip, guint flags)
|
||||
const GstVideoInfo * vip, guint surface_alloc_flags)
|
||||
{
|
||||
GstVaapiVideoAllocator *allocator;
|
||||
|
||||
|
@ -740,7 +740,7 @@ gst_vaapi_video_allocator_new (GstVaapiDisplay * display,
|
|||
|
||||
allocator_configure_surface_info (display, allocator);
|
||||
allocator->surface_pool = gst_vaapi_surface_pool_new_full (display,
|
||||
&allocator->surface_info, flags);
|
||||
&allocator->surface_info, surface_alloc_flags);
|
||||
if (!allocator->surface_pool)
|
||||
goto error_create_surface_pool;
|
||||
|
||||
|
|
|
@ -186,7 +186,7 @@ gst_vaapi_video_allocator_get_type (void) G_GNUC_CONST;
|
|||
G_GNUC_INTERNAL
|
||||
GstAllocator *
|
||||
gst_vaapi_video_allocator_new (GstVaapiDisplay * display,
|
||||
const GstVideoInfo * vip, guint flags);
|
||||
const GstVideoInfo * vip, guint surface_alloc_flags);
|
||||
|
||||
/* ------------------------------------------------------------------------ */
|
||||
/* --- GstVaapiDmaBufMemory --- */
|
||||
|
|
Loading…
Reference in a new issue