diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2015-08-17 11:50:28 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2015-08-17 11:50:28 +0100 |
commit | f3b18a29bf4c11bfb6609fb8e029af3603bb1030 (patch) | |
tree | 7a482b9a365bdd16663d5fa2e207dada104284a6 | |
parent | 8e488e5e490f0eb0bf6573fc7c9d557428ba8e7d (diff) | |
download | gstreamer-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.c | 2 |
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(), |