mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 21:51:09 +00:00
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
This commit is contained in:
parent
2309da4e9c
commit
5d86e1070d
1 changed files with 0 additions and 1 deletions
|
@ -611,7 +611,6 @@ gst_mpg123_audio_dec_flush (GstAudioDecoder * dec, gboolean hard)
|
||||||
mpg123_decoder->handle = NULL;
|
mpg123_decoder->handle = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
mpg123_decoder->has_next_audioinfo = FALSE;
|
|
||||||
|
|
||||||
/* opening/closing feeds do not affect the format defined by the
|
/* opening/closing feeds do not affect the format defined by the
|
||||||
* mpg123_format() call that was made in gst_mpg123_audio_dec_set_format(),
|
* mpg123_format() call that was made in gst_mpg123_audio_dec_set_format(),
|
||||||
|
|
Loading…
Reference in a new issue