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

Clark, Rob rob at ti.com
Mon Nov 1 14:07:50 PDT 2010


On Mon, Nov 1, 2010 at 3:14 PM, Stefan Kost <ensonic at hora-obscura.de> wrote:
> 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 :)
>

ahh, ok.. then I should replace with a patch to use the common
submodule (and the triggers it contains) rather than manually running
gst-indent ;-)

BR,
-R

> 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