From 3bbc945eb307830add32117e34647e1b13ace546 Mon Sep 17 00:00:00 2001 From: Vivia Nikolaidou Date: Fri, 12 Jun 2015 17:14:02 +0300 Subject: [PATCH] debugutilsbad: Minor cleanup Ran gst-indent on debugutilsbad.c, moved headers to noinst in Makefile.am --- gst/debugutils/Makefile.am | 14 ++++++------ gst/debugutils/debugutilsbad.c | 41 +++++++++++++++++----------------- 2 files changed, 28 insertions(+), 27 deletions(-) diff --git a/gst/debugutils/Makefile.am b/gst/debugutils/Makefile.am index 94b0ef5ba6..f5f2f29907 100644 --- a/gst/debugutils/Makefile.am +++ b/gst/debugutils/Makefile.am @@ -19,14 +19,9 @@ libgstdebugutilsbad_la_SOURCES = \ debugutilsbad.c \ fpsdisplaysink.c \ gstchecksumsink.c \ - gstchecksumsink.h \ gstchopmydata.c \ - gstchopmydata.h \ gstcompare.c \ - gstcompare.h \ - gstdebugspy.h \ - gstwatchdog.c \ - gstwatchdog.h + gstwatchdog.c nodist_libgstdebugutilsbad_la_SOURCES = $(BUILT_SOURCES) libgstdebugutilsbad_la_CFLAGS = $(GST_CFLAGS) $(GST_BASE_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) @@ -36,4 +31,9 @@ libgstdebugutilsbad_la_LIBADD = $(GST_BASE_LIBS) $(GST_PLUGINS_BASE_LIBS) \ libgstdebugutilsbad_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) libgstdebugutilsbad_la_LIBTOOLFLAGS = $(GST_PLUGIN_LIBTOOLFLAGS) -noinst_HEADERS = fpsdisplaysink.h +noinst_HEADERS = fpsdisplaysink.h \ + gstchecksumsink.h \ + gstchopmydata.h \ + gstcompare.h \ + gstdebugspy.h \ + gstwatchdog.h diff --git a/gst/debugutils/debugutilsbad.c b/gst/debugutils/debugutilsbad.c index 5eef80068b..2a6e3cc9e1 100644 --- a/gst/debugutils/debugutilsbad.c +++ b/gst/debugutils/debugutilsbad.c @@ -23,32 +23,33 @@ #include -GType gst_checksum_sink_get_type(void); -GType fps_display_sink_get_type(void); -GType gst_chop_my_data_get_type(void); -GType gst_compare_get_type(void); -GType gst_debug_spy_get_type(void); -GType gst_watchdog_get_type(void); +GType gst_checksum_sink_get_type (void); +GType fps_display_sink_get_type (void); +GType gst_chop_my_data_get_type (void); +GType gst_compare_get_type (void); +GType gst_debug_spy_get_type (void); +GType gst_watchdog_get_type (void); -static gboolean plugin_init(GstPlugin * plugin) +static gboolean +plugin_init (GstPlugin * plugin) { - gst_element_register(plugin, "checksumsink", GST_RANK_NONE, - gst_checksum_sink_get_type()); - gst_element_register(plugin, "fpsdisplaysink", GST_RANK_NONE, - fps_display_sink_get_type()); - gst_element_register(plugin, "chopmydata", GST_RANK_NONE, - gst_chop_my_data_get_type()); - gst_element_register(plugin, "compare", GST_RANK_NONE, - gst_compare_get_type()); - gst_element_register(plugin, "debugspy", GST_RANK_NONE, - gst_debug_spy_get_type()); - gst_element_register(plugin, "watchdog", GST_RANK_NONE, - gst_watchdog_get_type()); + gst_element_register (plugin, "checksumsink", GST_RANK_NONE, + gst_checksum_sink_get_type ()); + gst_element_register (plugin, "fpsdisplaysink", GST_RANK_NONE, + fps_display_sink_get_type ()); + gst_element_register (plugin, "chopmydata", GST_RANK_NONE, + gst_chop_my_data_get_type ()); + gst_element_register (plugin, "compare", GST_RANK_NONE, + gst_compare_get_type ()); + gst_element_register (plugin, "debugspy", GST_RANK_NONE, + gst_debug_spy_get_type ()); + gst_element_register (plugin, "watchdog", GST_RANK_NONE, + gst_watchdog_get_type ()); return TRUE; } -GST_PLUGIN_DEFINE(GST_VERSION_MAJOR, +GST_PLUGIN_DEFINE (GST_VERSION_MAJOR, GST_VERSION_MINOR, debugutilsbad, "Collection of elements that may or may not be useful for debugging",