mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-10 00:12:48 +00:00
ext/flac/gstflacdec.c: Finish flac decoder on EOS. See #116178.
Original commit message from CVS: 2004-01-04 Ronald Bultje <rbultje@ronald.bitfreak.net> * ext/flac/gstflacdec.c: (gst_flacdec_loop): Finish flac decoder on EOS. See #116178.
This commit is contained in:
parent
4c95ed1ff5
commit
3303d58bb9
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2004-01-04 Ronald Bultje <rbultje@ronald.bitfreak.net>
|
||||||
|
|
||||||
|
* ext/flac/gstflacdec.c: (gst_flacdec_loop):
|
||||||
|
Finish flac decoder on EOS. See #116178.
|
||||||
|
|
||||||
2004-01-04 Ronald Bultje <rbultje@ronald.bitfreak.net>
|
2004-01-04 Ronald Bultje <rbultje@ronald.bitfreak.net>
|
||||||
|
|
||||||
* gst/matroska/matroska-demux.c: (gst_matroska_demux_src_getcaps),
|
* gst/matroska/matroska-demux.c: (gst_matroska_demux_src_getcaps),
|
||||||
|
|
|
@ -569,8 +569,7 @@ gst_flacdec_loop (GstElement *element)
|
||||||
GstEvent *event;
|
GstEvent *event;
|
||||||
|
|
||||||
GST_DEBUG ("flacdec: sending EOS event");
|
GST_DEBUG ("flacdec: sending EOS event");
|
||||||
FLAC__seekable_stream_decoder_finish(flacdec->decoder);
|
FLAC__seekable_stream_decoder_reset(flacdec->decoder);
|
||||||
flacdec->init = TRUE;
|
|
||||||
|
|
||||||
if (GST_PAD_IS_USABLE (flacdec->srcpad)) {
|
if (GST_PAD_IS_USABLE (flacdec->srcpad)) {
|
||||||
event = gst_event_new (GST_EVENT_EOS);
|
event = gst_event_new (GST_EVENT_EOS);
|
||||||
|
|
Loading…
Reference in a new issue