gst/wavenc/gstwavenc.c: Fix wrong discont event setup (fixes #154967).

Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/wavenc/gstwavenc.c: (gst_wavenc_stop_file):
Fix wrong discont event setup (fixes #154967).
This commit is contained in:
Ronald S. Bultje 2004-10-09 20:56:22 +00:00
parent 5c01bf12fa
commit cc88a3d5c9
2 changed files with 9 additions and 1 deletions

View file

@ -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>

View file

@ -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);