summaryrefslogtreecommitdiff
path: root/gst/midi
diff options
context:
space:
mode:
Diffstat (limited to 'gst/midi')
-rw-r--r--gst/midi/midiparse.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gst/midi/midiparse.c b/gst/midi/midiparse.c
index 28fb2bf4a..609d55fc2 100644
--- a/gst/midi/midiparse.c
+++ b/gst/midi/midiparse.c
@@ -1160,6 +1160,12 @@ gst_midi_parse_sink_event (GstPad * pad, GstObject * parent, GstEvent * event)
/* don't forward the event */
gst_event_unref (event);
break;
+ case GST_EVENT_CAPS:
+ case GST_EVENT_STREAM_START:
+ case GST_EVENT_SEGMENT:
+ res = TRUE;
+ gst_event_unref (event);
+ break;
default:
res = gst_pad_event_default (pad, parent, event);
break;