gstreamer/ext/smoothstreaming
Antonio Ospite c4fbff50df mssdemux: fix setting codec_data when using WaveFormatEx
When using WaveFormatEx the actual codec private data is at the end of
the wav header structure, after the cbSize field, see for example the
notes at http://wiki.multimedia.cx/index.php?title=WAVEFORMATEX

The previous code was erroneously passing the whole WAVEFORMATEX
structure as codec_data.

The smoothstreaming specifications[1,2,3] always mention WAVEFORMATEX
and never smaller structures like WAVEFORMAT or PCMWAVEFORMAT, so the
buffer can assumed to be at least 18 bytes and always consuming the wav
header gives the (possibly empty) codec private data.

[1] http://web.archive.org/web/20120907004742/http://www.iis.net/community/files/media/smoothspecs/%5BMS-SMTH%5D.pdf
[2] http://download.microsoft.com/download/B/0/B/B0B199DB-41E6-400F-90CD-C350D0C14A53/%5BMS-SSTR%5D.pdf
[3] http://download.microsoft.com/download/9/5/E/95EF66AF-9026-4BB0-A41D-A4F81802D92C/%5BMS-SSTR%5D.pdf

https://bugzilla.gnome.org/show_bug.cgi?id=699924
2013-11-27 09:26:36 -03:00
..
gstdownloadrate.c smoothstreaming: port to 1.0 2013-05-07 21:09:49 -03:00
gstdownloadrate.h smoothstreaming: port to 1.0 2013-05-07 21:09:49 -03:00
gstmssdemux.c mssdemux: do not try to deinit the downloadrate while it is used 2013-11-15 12:01:55 -03:00
gstmssdemux.h mssdemux: Add support for group-id in the stream-start event 2013-07-23 10:33:31 +02:00
gstmssmanifest.c mssdemux: fix setting codec_data when using WaveFormatEx 2013-11-27 09:26:36 -03:00
gstmssmanifest.h smoothstreaming: port to 1.0 2013-05-07 21:09:49 -03:00
gstsmoothstreaming-plugin.c dash/smoothstreaming: Remove unused debug category with the same name 2013-09-19 20:09:59 +02:00
Makefile.am smoothstreaming: port to 1.0 2013-05-07 21:09:49 -03:00