summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2015-08-17 11:50:28 +0100
committerTim-Philipp Müller <tim@centricular.com>2015-08-17 11:50:28 +0100
commitf3b18a29bf4c11bfb6609fb8e029af3603bb1030 (patch)
tree7a482b9a365bdd16663d5fa2e207dada104284a6
parent8e488e5e490f0eb0bf6573fc7c9d557428ba8e7d (diff)
downloadgstreamer-plugins-bad-f3b18a29bf4c11bfb6609fb8e029af3603bb1030.tar.gz
mpg123: still reset pending audio info on hard flush
Follow-up to previous commit. https://bugzilla.gnome.org/show_bug.cgi?id=752431
-rw-r--r--ext/mpg123/gstmpg123audiodec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/mpg123/gstmpg123audiodec.c b/ext/mpg123/gstmpg123audiodec.c
index 5a7faa0cb..aa8598c05 100644
--- a/ext/mpg123/gstmpg123audiodec.c
+++ b/ext/mpg123/gstmpg123audiodec.c
@@ -611,6 +611,8 @@ gst_mpg123_audio_dec_flush (GstAudioDecoder * dec, gboolean hard)
mpg123_decoder->handle = NULL;
}
+ if (hard)
+ mpg123_decoder->has_next_audioinfo = FALSE;
/* opening/closing feeds do not affect the format defined by the
* mpg123_format() call that was made in gst_mpg123_audio_dec_set_format(),