mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-06 22:42:35 +00:00
libs: display: redefine gst_vaapi_display_create()
The function name was gst_vaapi_display_create_unlocked(), nonetheless it wasn't called unlocked. In order to keep the semantics this patch renames the gst_vaapi_display_create_unlocked() as gst_vaapi_display_create(), removing the previous function gst_vaapi_display_create(). https://bugzilla.gnome.org/show_bug.cgi?id=796470
This commit is contained in:
parent
d4843848b5
commit
8de7dcfe3c
1 changed files with 1 additions and 8 deletions
|
@ -848,7 +848,7 @@ gst_vaapi_display_destroy (GstVaapiDisplay * display)
|
|||
}
|
||||
|
||||
static gboolean
|
||||
gst_vaapi_display_create_unlocked (GstVaapiDisplay * display,
|
||||
gst_vaapi_display_create (GstVaapiDisplay * display,
|
||||
GstVaapiDisplayInitType init_type, gpointer data)
|
||||
{
|
||||
GstVaapiDisplayPrivate *const priv = GST_VAAPI_DISPLAY_GET_PRIVATE (display);
|
||||
|
@ -902,13 +902,6 @@ gst_vaapi_display_create_unlocked (GstVaapiDisplay * display,
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
static gboolean
|
||||
gst_vaapi_display_create (GstVaapiDisplay * display,
|
||||
GstVaapiDisplayInitType init_type, gpointer init_value)
|
||||
{
|
||||
return gst_vaapi_display_create_unlocked (display, init_type, init_value);
|
||||
}
|
||||
|
||||
static void
|
||||
gst_vaapi_display_lock_default (GstVaapiDisplay * display)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue