fix segfault when pushing events twice

Original commit message from CVS:
fix segfault when pushing events twice
This commit is contained in:
Benjamin Otte 2002-01-30 21:54:06 +00:00
parent a5678b4f06
commit e9d5cf15ba

View file

@ -170,6 +170,7 @@ gst_spider_identity_chain (GstPad *pad, GstBuffer *buf)
if (GST_IS_EVENT (buf)) {
gst_pad_event_default (ident->sink, GST_EVENT (buf));
return;
}
if ((ident->src != NULL) && (GST_PAD_PEER (ident->src) != NULL)) {