diff options
author | Vivia Nikolaidou <vivia@toolsonair.com> | 2015-06-12 17:14:02 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2015-06-12 16:16:17 +0200 |
commit | 3bbc945eb307830add32117e34647e1b13ace546 (patch) | |
tree | cf45af1deb399c86afd768fbd8a8d6833db5b6db /gst/debugutils | |
parent | 7634a776118a0c44431b0f187e77dc28eafe1da5 (diff) |
debugutilsbad: Minor cleanup
Ran gst-indent on debugutilsbad.c, moved headers to noinst in Makefile.am
Diffstat (limited to 'gst/debugutils')
-rw-r--r-- | gst/debugutils/Makefile.am | 14 | ||||
-rw-r--r-- | 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 94b0ef5ba..f5f2f2990 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 5eef80068..2a6e3cc9e 100644 --- a/gst/debugutils/debugutilsbad.c +++ b/gst/debugutils/debugutilsbad.c @@ -23,32 +23,33 @@ #include <gst/gst.h> -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", |