Don't crash on events.

Original commit message from CVS:
Don't crash on events.
This commit is contained in:
Wim Taymans 2002-05-30 19:08:04 +00:00
parent c5b642c13b
commit 9ebe4d2395

View file

@ -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));