diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2013-05-28 15:54:33 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2013-05-28 15:55:25 +0200 |
commit | b8cb2b4d79aa5f3408db7833f3d4b5bf8dcab79c (patch) | |
tree | d3b51e817e479b876e98eb93a87e6f0fade310bb /gst/midi | |
parent | 357779d3c6af96c4b43a4ba77ed70b6ffb535958 (diff) | |
download | gstreamer-plugins-bad-b8cb2b4d79aa5f3408db7833f3d4b5bf8dcab79c.tar.gz |
midiparse: In pull mode drop SEGMENT, CAPS and STREAM_START events
We create and send our own later from another thread.
Diffstat (limited to 'gst/midi')
-rw-r--r-- | gst/midi/midiparse.c | 6 |
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; |