debugutilsbad: Minor cleanup

Ran gst-indent on debugutilsbad.c, moved headers to noinst in Makefile.am
This commit is contained in:
Vivia Nikolaidou 2015-06-12 17:14:02 +03:00 committed by Sebastian Dröge
parent 7634a77611
commit 3bbc945eb3
2 changed files with 28 additions and 27 deletions

View file

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

View file

@ -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",