From 9ffe409138326e8b967360268ef69b67beec53d8 Mon Sep 17 00:00:00 2001 From: Jason Litzinger Date: Wed, 15 Jul 2015 10:44:02 -0600 Subject: [PATCH] mpg123: fix handling of sample rate change during playback If the sample rate of the media changes, the resulting flush will clear the has_next_audioinfo flag, and the caps won't be sent downstream. https://bugzilla.gnome.org/show_bug.cgi?id=752431 --- ext/mpg123/gstmpg123audiodec.c | 1 - 1 file changed, 1 deletion(-) diff --git a/ext/mpg123/gstmpg123audiodec.c b/ext/mpg123/gstmpg123audiodec.c index 46f6db9..5a7faa0 100644 --- a/ext/mpg123/gstmpg123audiodec.c +++ b/ext/mpg123/gstmpg123audiodec.c @@ -611,7 +611,6 @@ gst_mpg123_audio_dec_flush (GstAudioDecoder * dec, gboolean hard) mpg123_decoder->handle = NULL; } - 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(), -- 2.7.4