From e9d5cf15ba803174b575a4ce917e5ebef83d46c7 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Wed, 30 Jan 2002 21:54:06 +0000 Subject: [PATCH] fix segfault when pushing events twice Original commit message from CVS: fix segfault when pushing events twice --- gst/autoplug/gstspideridentity.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst/autoplug/gstspideridentity.c b/gst/autoplug/gstspideridentity.c index d51d157..3408b8f 100644 --- a/gst/autoplug/gstspideridentity.c +++ b/gst/autoplug/gstspideridentity.c @@ -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)) { -- 2.7.4