fix segfault when pushing events twice
authorBenjamin Otte <otte@gnome.org>
Wed, 30 Jan 2002 21:54:06 +0000 (21:54 +0000)
committerBenjamin Otte <otte@gnome.org>
Wed, 30 Jan 2002 21:54:06 +0000 (21:54 +0000)
Original commit message from CVS:
fix segfault when pushing events twice

gst/autoplug/gstspideridentity.c

index d51d157..3408b8f 100644 (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)) {