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

Stefan Kost ensonic at hora-obscura.de
Mon Nov 1 13:14:41 PDT 2010


Am 01.11.2010 17:53, schrieb Rob Clark:
> 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.

You shouldn't run gst-indent on header files :)

Stefan

> ---
>  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





More information about the Gstreamer-openmax mailing list