summaryrefslogtreecommitdiff
authorWim Taymans <wim.taymans@collabora.co.uk>2009-08-31 15:38:28 (GMT)
committer Wim Taymans <wim.taymans@collabora.co.uk>2009-08-31 16:48:04 (GMT)
commit2127cf3e8c61b45efea8babe7378d3ab6beefcda (patch) (side-by-side diff)
treef8691ace324fb97b1fb5a9ba1de565e356d1ee61
parent25caf9f743256e602ee0f7ad216ff51d892c7de3 (diff)
downloadgst-plugins-bad-2127cf3e8c61b45efea8babe7378d3ab6beefcda.zip
gst-plugins-bad-2127cf3e8c61b45efea8babe7378d3ab6beefcda.tar.gz
wildmidi: remove useless function calls
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--ext/timidity/gstwildmidi.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/ext/timidity/gstwildmidi.c b/ext/timidity/gstwildmidi.c
index bdfce5d..43359d8 100644
--- a/ext/timidity/gstwildmidi.c
+++ b/ext/timidity/gstwildmidi.c
@@ -260,8 +260,6 @@ gst_wildmidi_init (GstWildmidi * filter, GstWildmidiClass * g_class)
gst_pad_set_activatepull_function (filter->sinkpad,
gst_wildmidi_activatepull);
gst_pad_set_activate_function (filter->sinkpad, gst_wildmidi_activate);
- gst_pad_set_setcaps_function (filter->sinkpad, gst_pad_set_caps);
- gst_pad_use_fixed_caps (filter->sinkpad);
gst_element_add_pad (GST_ELEMENT (filter), filter->sinkpad);
filter->srcpad =
@@ -271,7 +269,6 @@ gst_wildmidi_init (GstWildmidi * filter, GstWildmidiClass * g_class)
gst_pad_set_query_function (filter->srcpad, gst_wildmidi_src_query);
gst_pad_set_event_function (filter->srcpad, gst_wildmidi_src_event);
gst_pad_use_fixed_caps (filter->srcpad);
- gst_pad_set_setcaps_function (filter->srcpad, gst_pad_set_caps);
gst_element_add_pad (GST_ELEMENT (filter), filter->srcpad);