summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--gst/wavenc/gstwavenc.c3
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 82c86bbd..14f46bdd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2004-10-09 Tim-Philipp Müller <t.i.m@zen.co.uk>
+
+ Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
+
+ * gst/wavenc/gstwavenc.c: (gst_wavenc_stop_file):
+ Fix wrong discont event setup (fixes #154967).
+
2004-10-09 Sebastien Cote <sc5@hermes.usherb.ca>
Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
diff --git a/gst/wavenc/gstwavenc.c b/gst/wavenc/gstwavenc.c
index 6547b8b8..3ae2a92f 100644
--- a/gst/wavenc/gstwavenc.c
+++ b/gst/wavenc/gstwavenc.c
@@ -259,7 +259,8 @@ gst_wavenc_stop_file (GstWavEnc * wavenc)
GstEvent *event;
GstBuffer *outbuf;
- event = gst_event_new_discontinuous (FALSE, GST_FORMAT_BYTES, 0);
+ event = gst_event_new_discontinuous (FALSE, GST_FORMAT_BYTES,
+ (guint64) 0, GST_FORMAT_UNDEFINED);
gst_pad_push (wavenc->srcpad, GST_DATA (event));
outbuf = gst_buffer_new_and_alloc (WAV_HEADER_LEN);