summaryrefslogtreecommitdiff
path: root/gst/wavenc
diff options
context:
space:
mode:
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);