summaryrefslogtreecommitdiff
path: root/ext/timidity/gstwildmidi.h
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sourceforge.net>2007-07-24 15:13:44 +0000
committerStefan Kost <ensonic@users.sourceforge.net>2007-07-24 15:13:44 +0000
commit9c8ef16a8af5ca68e61f217b023a7f935587255b (patch)
treecd918ba01b597f483119e07777b36f4214691b8d /ext/timidity/gstwildmidi.h
parent2a8bc6a2e13844c797603c2de12635e1661b55bb (diff)
downloadgstreamer-plugins-bad-9c8ef16a8af5ca68e61f217b023a7f935587255b.tar.gz
ext/timidity/gstwildmidi.*: Don't initialize wildmidi in plugin_init as it also setups audio filters which is slow.
Original commit message from CVS: * ext/timidity/gstwildmidi.c: (wildmidi_open_config), (gst_wildmidi_init), (gst_wildmidi_change_state), (plugin_init): * ext/timidity/gstwildmidi.h: Don't initialize wildmidi in plugin_init as it also setups audio filters which is slow.
Diffstat (limited to 'ext/timidity/gstwildmidi.h')
-rw-r--r--ext/timidity/gstwildmidi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/timidity/gstwildmidi.h b/ext/timidity/gstwildmidi.h
index 37815ea60..54189572d 100644
--- a/ext/timidity/gstwildmidi.h
+++ b/ext/timidity/gstwildmidi.h
@@ -51,6 +51,8 @@ struct _GstWildmidi
GstPad *sinkpad, *srcpad;
+ gboolean initialized;
+
/* input stream properties */
gint64 mididata_size, mididata_offset;
gchar *mididata;