summaryrefslogtreecommitdiffstats
path: root/gst-libs
diff options
context:
space:
mode:
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>2004-12-01 13:23:39 +0000
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>2004-12-01 13:23:39 +0000
commita91586eee0ace6b3ef9f83bb74beb22e35494251 (patch)
tree43c270eb8a439765e7ffe9c31fb9b0f574cdaa51 /gst-libs
parent5a9abb37d5fb006d6861b78768fb0727669ffacf (diff)
downloadgst-plugins-bad-a91586eee0ace6b3ef9f83bb74beb22e35494251.tar.gz
gst-plugins-bad-a91586eee0ace6b3ef9f83bb74beb22e35494251.tar.bz2
gst-plugins-bad-a91586eee0ace6b3ef9f83bb74beb22e35494251.zip
gst-libs/gst/riff/riff-read.c: Don't forward DISCONT events (fixes #159684).
Original commit message from CVS: Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net> * gst-libs/gst/riff/riff-read.c: (gst_riff_read_use_event): Don't forward DISCONT events (fixes #159684).
Diffstat (limited to 'gst-libs')
-rw-r--r--gst-libs/gst/riff/riff-read.c2
1 files changed, 1 insertions, 1 deletions
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: