Commit 9ebe4d23 authored by Wim Taymans's avatar Wim Taymans
Browse files

Don't crash on events.

Original commit message from CVS:
Don't crash on events.
parent c5b642c1
......@@ -255,6 +255,10 @@ speed_loop (GstElement *element)
speed = filter->speed;
in = gst_pad_pull(filter->sinkpad);
if (GST_IS_EVENT (in)) {
gst_pad_event_default (filter->sinkpad, GST_EVENT (in));
return;
}
while (GST_IS_EVENT (in)) {
gst_pad_event_default (filter->srcpad, GST_EVENT (in));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment