summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Nauwelaerts <mnauw@users.sourceforge.net>2015-02-22 16:57:50 +0100
committerMark Nauwelaerts <mnauw@users.sourceforge.net>2015-02-22 16:58:33 +0100
commitc321b6bd81df2cc93609a6023d64cffb11046c00 (patch)
tree10e64dc08d9dcc1f68551f11e8c82eb3f340f0b5
parentcc1b4eaf9ebe4568f9c2c64338cef1b2edbdca3f (diff)
Revert "audiodecoder: drain current segment upon new one to ensure correct flow return"
This reverts commit 696b8cdc40f033ff0a45ebe620279130152fb2f8. See https://bugzilla.gnome.org/show_bug.cgi?id=734617
-rw-r--r--gst-libs/gst/audio/gstaudiodecoder.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/gst-libs/gst/audio/gstaudiodecoder.c b/gst-libs/gst/audio/gstaudiodecoder.c
index 0aaf1a605..cb9c2abcd 100644
--- a/gst-libs/gst/audio/gstaudiodecoder.c
+++ b/gst-libs/gst/audio/gstaudiodecoder.c
@@ -2040,11 +2040,6 @@ gst_audio_decoder_sink_eventfunc (GstAudioDecoder * dec, GstEvent * event)
GstFormat format;
GST_AUDIO_DECODER_STREAM_LOCK (dec);
- /* finish data in current segment because upstream now thinks in terms
- * of a new segment so it will get confused if remaining data of the old
- * segment is delay decoded and dropped with EOS return due to clipping */
- gst_audio_decoder_flush (dec, FALSE);
-
gst_event_copy_segment (event, &seg);
format = seg.format;