From a91586eee0ace6b3ef9f83bb74beb22e35494251 Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Wed, 1 Dec 2004 13:23:39 +0000 Subject: gst-libs/gst/riff/riff-read.c: Don't forward DISCONT events (fixes #159684). Original commit message from CVS: Reviewed by: Ronald S. Bultje * gst-libs/gst/riff/riff-read.c: (gst_riff_read_use_event): Don't forward DISCONT events (fixes #159684). --- gst-libs/gst/riff/riff-read.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gst-libs') diff --git a/gst-libs/gst/riff/riff-read.c b/gst-libs/gst/riff/riff-read.c index 05e83d85..d5394711 100644 --- a/gst-libs/gst/riff/riff-read.c +++ b/gst-libs/gst/riff/riff-read.c @@ -180,7 +180,7 @@ gst_riff_read_use_event (GstRiffRead * riff, GstEvent * event) case GST_EVENT_DISCONTINUOUS: GST_WARNING_OBJECT (riff, "Unexpected discont - might lose sync"); - gst_pad_event_default (riff->sinkpad, event); + gst_event_unref (event); return TRUE; case GST_EVENT_FLUSH: -- cgit v1.2.1