[Gstreamer-openmax] [PATCH 2/2] minor formatting cleanup

Rob Clark rob at ti.com
Mon Nov 1 08:53:02 PDT 2010


I dislike how gst-indent tries to put something else on the same line with
G_BEGIN_DECLS... use a comment as a sneaky way to force it not to do this.
---
 omx/gstomx.h |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/omx/gstomx.h b/omx/gstomx.h
index 37027ec..a2377d3 100644
--- a/omx/gstomx.h
+++ b/omx/gstomx.h
@@ -24,8 +24,12 @@
 
 #include <gst/gst.h>
 
-G_BEGIN_DECLS GST_DEBUG_CATEGORY_EXTERN (gstomx_debug);
+G_BEGIN_DECLS
+/* gst-openmax debug categories:
+ */
+GST_DEBUG_CATEGORY_EXTERN (gstomx_debug);
 GST_DEBUG_CATEGORY_EXTERN (gstomx_util_debug);
+
 #define GST_CAT_DEFAULT gstomx_debug
 
 enum
-- 
1.7.1.1





More information about the Gstreamer-openmax mailing list