mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
libs: texture: egl: code style
https://bugzilla.gnome.org/show_bug.cgi?id=773453
This commit is contained in:
parent
ea503ed085
commit
0840c08cf1
1 changed files with 12 additions and 6 deletions
|
@ -120,15 +120,21 @@ create_objects (GstVaapiTextureEGL * texture, GLuint texture_id)
|
||||||
|
|
||||||
/* ERRORS */
|
/* ERRORS */
|
||||||
error_create_image:
|
error_create_image:
|
||||||
|
{
|
||||||
GST_ERROR ("failed to create EGL image from 2D texture %u", texture_id);
|
GST_ERROR ("failed to create EGL image from 2D texture %u", texture_id);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
}
|
||||||
error_create_surface:
|
error_create_surface:
|
||||||
|
{
|
||||||
GST_ERROR ("failed to create VA surface from 2D texture %u", texture_id);
|
GST_ERROR ("failed to create VA surface from 2D texture %u", texture_id);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
}
|
||||||
error_create_filter:
|
error_create_filter:
|
||||||
|
{
|
||||||
GST_ERROR ("failed to create VPP filter for color conversion");
|
GST_ERROR ("failed to create VPP filter for color conversion");
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
do_create_texture_unlocked (GstVaapiTextureEGL * texture)
|
do_create_texture_unlocked (GstVaapiTextureEGL * texture)
|
||||||
|
|
Loading…
Reference in a new issue