libs: texture: egl: code style
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Thu, 5 Oct 2017 17:25:08 +0000 (19:25 +0200)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Wed, 1 Nov 2017 10:27:36 +0000 (11:27 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=773453

gst-libs/gst/vaapi/gstvaapitexture_egl.c

index 260ffaa..1a5897d 100644 (file)
@@ -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