summaryrefslogtreecommitdiff
path: root/gst/vaapi/gstvaapivideocontext.c
diff options
context:
space:
mode:
authorVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>2015-10-23 11:17:01 +0200
committerVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>2015-11-09 16:18:19 +0100
commitc20318d1982a3b071f633e2cb3473e0699851d62 (patch)
tree6b3f576633cfd3991ac91b3319d8ff6faadb97aa /gst/vaapi/gstvaapivideocontext.c
parent1e96fae94c28866ed6f3ed63e79d83932bf79f2d (diff)
downloadgstreamer-vaapi-c20318d1982a3b071f633e2cb3473e0699851d62.tar.gz
gstvaapivideocontext: fix indentation
gst-indent does not handle correctly some expression like function declaration with attributes, breaking the following expressions. This patch makes gst-indent to ignore the attributed function declartion so the followed function definition is not mangled, such as happened in commit b4154a Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com> https://bugzilla.gnome.org/show_bug.cgi?id=757598
Diffstat (limited to 'gst/vaapi/gstvaapivideocontext.c')
-rw-r--r--gst/vaapi/gstvaapivideocontext.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/gst/vaapi/gstvaapivideocontext.c b/gst/vaapi/gstvaapivideocontext.c
index e3e4afcf..183e12a3 100644
--- a/gst/vaapi/gstvaapivideocontext.c
+++ b/gst/vaapi/gstvaapivideocontext.c
@@ -31,16 +31,17 @@ GST_DEBUG_CATEGORY_STATIC (GST_CAT_CONTEXT);
#define GST_VAAPI_TYPE_DISPLAY \
gst_vaapi_display_get_type ()
-GType
-gst_vaapi_display_get_type (void)
- G_GNUC_CONST;
+/* *INDENT-OFF* */
+static GType gst_vaapi_display_get_type (void) G_GNUC_CONST;
+/* *INDENT-ON* */
G_DEFINE_BOXED_TYPE (GstVaapiDisplay, gst_vaapi_display,
(GBoxedCopyFunc) gst_vaapi_display_ref,
(GBoxedFreeFunc) gst_vaapi_display_unref);
- GstContext *gst_vaapi_video_context_new_with_display (GstVaapiDisplay *
- display, gboolean persistent)
+GstContext *
+gst_vaapi_video_context_new_with_display (GstVaapiDisplay * display,
+ gboolean persistent)
{
GstContext *context;
GstStructure *structure;