From: Ronald S. Bultje Date: Sat, 9 Oct 2004 20:56:22 +0000 (+0000) Subject: gst/wavenc/gstwavenc.c: Fix wrong discont event setup (fixes #154967). X-Git-Tag: BRANCH-GSTREAMER-0_8-ROOT~520 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cc88a3d5c910270dd7f15e5ecba168695c827145;p=platform%2Fupstream%2Fgst-plugins-good.git gst/wavenc/gstwavenc.c: Fix wrong discont event setup (fixes #154967). Original commit message from CVS: Reviewed by: Ronald S. Bultje * gst/wavenc/gstwavenc.c: (gst_wavenc_stop_file): Fix wrong discont event setup (fixes #154967). --- diff --git a/ChangeLog b/ChangeLog index 82c86bbdd..14f46bdd3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2004-10-09 Tim-Philipp Müller + + Reviewed by: Ronald S. Bultje + + * gst/wavenc/gstwavenc.c: (gst_wavenc_stop_file): + Fix wrong discont event setup (fixes #154967). + 2004-10-09 Sebastien Cote Reviewed by: Ronald S. Bultje diff --git a/gst/wavenc/gstwavenc.c b/gst/wavenc/gstwavenc.c index 6547b8b83..3ae2a92f3 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);