From 0840c08cf10d4a101859a625acf2351f28672553 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=ADctor=20Manuel=20J=C3=A1quez=20Leal?= Date: Thu, 5 Oct 2017 19:25:08 +0200 Subject: [PATCH] libs: texture: egl: code style https://bugzilla.gnome.org/show_bug.cgi?id=773453 --- gst-libs/gst/vaapi/gstvaapitexture_egl.c | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/gst-libs/gst/vaapi/gstvaapitexture_egl.c b/gst-libs/gst/vaapi/gstvaapitexture_egl.c index 260ffaa..1a5897d 100644 --- a/gst-libs/gst/vaapi/gstvaapitexture_egl.c +++ b/gst-libs/gst/vaapi/gstvaapitexture_egl.c @@ -120,14 +120,20 @@ create_objects (GstVaapiTextureEGL * texture, GLuint texture_id) /* ERRORS */ error_create_image: - GST_ERROR ("failed to create EGL image from 2D texture %u", texture_id); - return FALSE; + { + GST_ERROR ("failed to create EGL image from 2D texture %u", texture_id); + return FALSE; + } error_create_surface: - GST_ERROR ("failed to create VA surface from 2D texture %u", texture_id); - return FALSE; + { + GST_ERROR ("failed to create VA surface from 2D texture %u", texture_id); + return FALSE; + } error_create_filter: - GST_ERROR ("failed to create VPP filter for color conversion"); - return FALSE; + { + GST_ERROR ("failed to create VPP filter for color conversion"); + return FALSE; + } } static gboolean -- 2.7.4