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> | 2016-02-16 10:40:40 +0000 |
commit | 81ede77eb757a0e944464df691541fde94637be9 (patch) | |
tree | c2bccb87f20a85215ea48e9ec510b0454581b19f | |
parent | 5d86e1070d2fd49ef3f17286df873595a67e4ba5 (diff) |
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 5a7faa0cb2..aa8598c053 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(), |