gst-libs/gst/riff/riff-read.c: Don't forward DISCONT events (fixes #159684).
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>
Wed, 1 Dec 2004 13:23:39 +0000 (13:23 +0000)
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>
Wed, 1 Dec 2004 13:23:39 +0000 (13:23 +0000)
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).

ChangeLog
gst-libs/gst/riff/riff-read.c

index feadd1d..f30d90a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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):
index 05e83d8..d539471 100644 (file)
@@ -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: