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:
Víctor Manuel Jáquez Leal 2016-10-20 11:19:50 +02:00
parent 039e8c0d56
commit 289a8e5b87
2 changed files with 3 additions and 3 deletions

View file

@ -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;

View file

@ -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 --- */