From a937c59acd8985c4e97c34e8bf1fda56ff90ce9d Mon Sep 17 00:00:00 2001 From: Havard Graff Date: Wed, 23 Sep 2015 13:14:03 +0200 Subject: [PATCH] flvdemux: speex is also always 16KHz This is just a cosmetic change for the logs, since the right caps for Speex is being set elsewhere. https://bugzilla.gnome.org/show_bug.cgi?id=755479 --- gst/flv/gstflvdemux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/flv/gstflvdemux.c b/gst/flv/gstflvdemux.c index 22bc40b8c3..95263f13b3 100644 --- a/gst/flv/gstflvdemux.c +++ b/gst/flv/gstflvdemux.c @@ -1012,7 +1012,7 @@ gst_flv_demux_parse_tag_audio (GstFlvDemux * demux, GstBuffer * buffer) /* codec tags with special rates */ if (codec_tag == 5 || codec_tag == 14) rate = 8000; - else if (codec_tag == 4) + else if ((codec_tag == 4) || (codec_tag == 11)) rate = 16000; GST_LOG_OBJECT (demux, "audio tag with %d channels, %dHz sampling rate, "