diff options
author | Jason Litzinger <jlitzinger@control4.com> | 2015-07-15 10:44:02 -0600 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2015-08-17 11:33:57 +0100 |
commit | 8e488e5e490f0eb0bf6573fc7c9d557428ba8e7d (patch) | |
tree | 0d50d470114ea84904cefd8f7c93b84ae2593ac8 /ext/mpg123 | |
parent | 567b1e8c46f15c454de6320a393e720fb0f5b552 (diff) | |
download | gstreamer-plugins-bad-8e488e5e490f0eb0bf6573fc7c9d557428ba8e7d.tar.gz |
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
Diffstat (limited to 'ext/mpg123')
-rw-r--r-- | ext/mpg123/gstmpg123audiodec.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/mpg123/gstmpg123audiodec.c b/ext/mpg123/gstmpg123audiodec.c index 46f6db962..5a7faa0cb 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(), |