diff options
author | Ronald S. Bultje <rbultje@ronald.bitfreak.net> | 2004-12-01 13:23:39 +0000 |
---|---|---|
committer | Ronald S. Bultje <rbultje@ronald.bitfreak.net> | 2004-12-01 13:23:39 +0000 |
commit | a91586eee0ace6b3ef9f83bb74beb22e35494251 (patch) | |
tree | 43c270eb8a439765e7ffe9c31fb9b0f574cdaa51 | |
parent | 5a9abb37d5fb006d6861b78768fb0727669ffacf (diff) | |
download | gst-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).
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | gst-libs/gst/riff/riff-read.c | 2 |
2 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,10 @@ +2004-12-01 Sebastien Cote <sc5@hermes.usherb.ca> + + 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). + 2004-12-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net> * gst/playback/gstplaybin.c: (remove_sinks), (setup_sinks): 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: |