summaryrefslogtreecommitdiff
path: root/gst/wavenc
diff options
context:
space:
mode:
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>2004-10-09 20:56:22 +0000
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>2004-10-09 20:56:22 +0000
commitcc88a3d5c910270dd7f15e5ecba168695c827145 (patch)
treecd047147202b5d50b333372ff9e0dd0cf8efa2ce /gst/wavenc
parent5c01bf12fa195c01b90bf9a752ba3d49e5a07af3 (diff)
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).
Diffstat (limited to 'gst/wavenc')
-rw-r--r--gst/wavenc/gstwavenc.c3
1 files changed, 2 insertions, 1 deletions
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);