mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
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:
parent
5c01bf12fa
commit
cc88a3d5c9
2 changed files with 9 additions and 1 deletions
|
@ -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>
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue