flvmux: fix speex in FLV
authorTim-Philipp Müller <tim@centricular.com>
Thu, 26 Jun 2014 12:43:33 +0000 (13:43 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Thu, 26 Jun 2014 12:43:33 +0000 (13:43 +0100)
commitd98b996523b07599c294a2a66762bca5c03d1cb5
treef10b41d2f1196fcc106e1c32fc84c0663d470981
parent8da6ee0312bafe8eaa4818da99a38646bb046266
flvmux: fix speex in FLV

Speex in FLV is always mono @ 16kHz, see
http://download.macromedia.com/f4v/video_file_format_spec_v10_1.pdf
section E.4.2.1: "If the SoundFormat indicates Speex, the audio is
compressed mono sampled at 16 kHz, the SoundRate shall be 0, the
SoundSize shall be 1, and the SoundType shall be 0"

Also see https://bugzilla.gnome.org/show_bug.cgi?id=683622
gst/flv/gstflvmux.c