Skip to content
Snippets Groups Projects
Commit da3bcea2 authored by Kipp Cannon's avatar Kipp Cannon
Browse files

gstlal: create gstlaldebug plugin

parent a86f25f8
No related branches found
No related tags found
No related merge requests found
......@@ -23,6 +23,7 @@ AC_CONFIG_FILES([ \
python/Makefile \
python/pipeparts/Makefile \
gst/Makefile \
gst/debug/Makefile \
gst/lal/Makefile \
gst/python/Makefile \
bin/Makefile \
......
SUBDIRS = lal python
SUBDIRS = lal debug python
AM_CPPFLAGS = -I$(top_srcdir)/lib -I$(top_builddir)/lib
plugin_LTLIBRARIES = libgstlaldebug.la
libgstlaldebug_la_SOURCES = \
gstlaldebugplugin.c
libgstlaldebug_la_CFLAGS = $(AM_CFLAGS) $(gstreamer_CFLAGS)
libgstlaldebug_la_LIBADD =
libgstlaldebug_la_LDFLAGS = $(AM_LDFLAGS) $(gstreamer_LIBS) $(GSTLAL_PLUGIN_LDFLAGS)
/*
* Debug plugin for gstlal
*
* Copyright (C) 2014 Kipp Cannon
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
/*
* ============================================================================
*
* Preamble
*
* ============================================================================
*/
/*
* Stuff from GStreamer
*/
#include <gst/gst.h>
/*
* Our own stuff
*/
/*
* ============================================================================
*
* Plugin Entry Point
*
* ============================================================================
*/
static gboolean plugin_init(GstPlugin *plugin)
{
struct {
const gchar *name;
GType type;
} *element, elements[] = {
{NULL, 0},
};
/*
* Tell GStreamer about the elements.
*/
for(element = elements; element->name; element++)
if(!gst_element_register(plugin, element->name, GST_RANK_NONE, element->type))
return FALSE;
/*
* Done.
*/
return TRUE;
}
/*
* This is the structure that gst-register looks for.
*/
GST_PLUGIN_DEFINE(GST_VERSION_MAJOR, GST_VERSION_MINOR, "gstlaldebug", "Debugging elements from the GSTLAL project", plugin_init, PACKAGE_VERSION, "GPL", PACKAGE_NAME, "http://www.lsc-group.phys.uwm.edu/daswg")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment