mpg123: still reset pending audio info on hard flush

Follow-up to previous commit.

https://bugzilla.gnome.org/show_bug.cgi?id=752431
This commit is contained in:
Tim-Philipp Müller 2015-08-17 11:50:28 +01:00
parent 8e488e5e49
commit f3b18a29bf

View file

@ -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(),