Don't crash on events.
Original commit message from CVS: Don't crash on events.
This commit is contained in:
parent
c5b642c13b
commit
9ebe4d2395
@ -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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user