projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
567b1e8
)
mpg123: fix handling of sample rate change during playback
author
Jason Litzinger
<jlitzinger@control4.com>
Wed, 15 Jul 2015 16:44:02 +0000
(10:44 -0600)
committer
Tim-Philipp Müller
<tim@centricular.com>
Mon, 17 Aug 2015 10:33:57 +0000
(11:33 +0100)
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
patch
|
blob
|
history
diff --git
a/ext/mpg123/gstmpg123audiodec.c
b/ext/mpg123/gstmpg123audiodec.c
index
46f6db9
..
5a7faa0
100644
(file)
--- 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(),