diff options
author | Stefan Kost <ensonic@users.sourceforge.net> | 2007-02-11 15:46:24 +0000 |
---|---|---|
committer | Stefan Kost <ensonic@users.sourceforge.net> | 2007-02-11 15:46:24 +0000 |
commit | ba820cdc34f397f6afd2b1b1181672ba7b66bc0b (patch) | |
tree | de04db9a2af94089f5fc93ae2160e169e75cc22b /ext/timidity/Makefile.am | |
parent | 711f00bb8870d86762b3735cb5aef727eee6e7c1 (diff) | |
download | gst-plugins-bad-ba820cdc34f397f6afd2b1b1181672ba7b66bc0b.tar.gz gst-plugins-bad-ba820cdc34f397f6afd2b1b1181672ba7b66bc0b.tar.bz2 gst-plugins-bad-ba820cdc34f397f6afd2b1b1181672ba7b66bc0b.zip |
Add second midi renderer. Fix some double frees and leaks. Clean up logging.
Original commit message from CVS:
* configure.ac:
* ext/timidity/Makefile.am:
* ext/timidity/gsttimidity.c: (plugin_init):
* ext/timidity/gstwildmidi.c: (gst_wildmidi_base_init),
(gst_wildmidi_class_init), (gst_wildmidi_init),
(gst_wildmidi_src_convert), (gst_wildmidi_src_query),
(gst_wildmidi_get_upstream_size), (gst_wildmidi_get_segment),
(gst_wildmidi_get_new_segment_event), (gst_wildmidi_src_event),
(gst_wildmidi_activate), (gst_wildmidi_activatepull),
(gst_wildmidi_allocate_buffer), (gst_wildmidi_clip_buffer),
(gst_wildmidi_fill_buffer), (gst_wildmidi_get_buffer),
(gst_wildmidi_loop), (gst_wildmidi_change_state),
(gst_wildmidi_set_property), (gst_wildmidi_get_property),
(gst_wildmidi_typefind), (wildmidi_open_config), (plugin_init):
* ext/timidity/gstwildmidi.h:
Add second midi renderer. Fix some double frees and leaks. Clean up
logging.
Diffstat (limited to 'ext/timidity/Makefile.am')
-rw-r--r-- | ext/timidity/Makefile.am | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/ext/timidity/Makefile.am b/ext/timidity/Makefile.am index a88aae32..7364def9 100644 --- a/ext/timidity/Makefile.am +++ b/ext/timidity/Makefile.am @@ -1,9 +1,8 @@ # plugindir is set in configure +plugin_LTLIBRARIES = -# change libgstplugin.la to something more suitable -plugin_LTLIBRARIES = libgsttimidity.la - -# for the next set of variables, rename the prefix if you renamed the .la +if USE_TIMIDITY +plugin_LTLIBRARIES += libgsttimidity.la # sources used to compile this plug-in libgsttimidity_la_SOURCES = gsttimidity.c @@ -15,3 +14,20 @@ libgsttimidity_la_LIBADD = $(GST_LIBS) $(GST_BASE_LIBS) $(TIMIDITY_LIBS) libgsttimidity_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) noinst_HEADERS = gsttimidity.h + +endif + +if USE_WILDMIDI +plugin_LTLIBRARIES += libgstwildmidi.la + +# sources used to compile this plug-in +libgstwildmidi_la_SOURCES = gstwildmidi.c + +# flags used to compile this plugin +# add other _CFLAGS and _LIBS as needed +libgstwildmidi_la_CFLAGS = $(GST_CFLAGS) $(GST_BASE_CFLAGS) $(WILDMIDI_CFLAGS) +libgstwildmidi_la_LIBADD = $(GST_LIBS) $(GST_BASE_LIBS) $(WILDMIDI_LIBS) +libgstwildmidi_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) + +noinst_HEADERS = gstwildmidi.h +endif |