gstreamer/ext
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
..
apexsink gst: Add better support for static plugins 2013-04-15 15:59:22 +02:00
assrender gst: Add better support for static plugins 2013-04-15 15:59:22 +02:00
audiofile gst: Add better support for static plugins 2013-04-15 15:59:22 +02:00
bz2 gst: Add better support for static plugins 2013-04-15 15:59:22 +02:00
chromaprint gst: Add better support for static plugins 2013-04-15 15:59:22 +02:00
curl curl: curlsftpsink - new libcurl-based sink element for SFTP 2013-11-01 17:20:04 +01:00
daala daala: Fix compilation 2013-11-19 00:38:45 +01:00
dash dashdemux: Improve if cause readability 2013-10-03 09:15:37 -03:00
dc1394 gst: Add better support for static plugins 2013-04-15 15:59:22 +02:00
directfb dfbvideosink: make "layer-mode" property an enum 2013-08-29 15:46:14 +01:00
dts gst: Add better support for static plugins 2013-04-15 15:59:22 +02:00
eglgles eglglessink: fix non-egl display context query 2013-11-13 15:50:17 +01:00
faac all: Fix for GST_DISABLE_GST_DEBUG 2013-07-29 09:42:12 +02:00
faad gst: Add better support for static plugins 2013-04-15 15:59:22 +02:00
flite flitetestsrc: audio format is "S16" not "s16" 2013-05-18 14:02:18 -07:00
fluidsynth gst: Add better support for static plugins 2013-04-15 15:59:22 +02:00
gme gst: Add better support for static plugins 2013-04-15 15:59:22 +02:00
gsettings gst: Add better support for static plugins 2013-04-15 15:59:22 +02:00
gsm gst: Add better support for static plugins 2013-04-15 15:59:22 +02:00
hls hlssink: do not lose ref to the multifilesink 2013-11-07 12:50:55 -03:00
kate kateenc: Delay segment event until we have caps 2013-05-15 10:12:09 +02:00
ladspa ladspa: initialize debug category earlier 2013-07-26 13:21:05 -07:00
libfame gst: Add better support for static plugins 2013-04-15 15:59:22 +02:00
libmms gst: Add better support for static plugins 2013-04-15 15:59:22 +02:00
lv2 gst: Add better support for static plugins 2013-04-15 15:59:22 +02:00
mimic mimic: Ensure segment is sent before caps and buffer 2013-05-15 19:30:40 -04:00
modplug modplug: Specify directory when including stdafx.h 2013-09-10 11:08:24 +02:00
mpeg2enc gst: Add better support for static plugins 2013-04-15 15:59:22 +02:00
mpg123 mpg123: Remove dead assignment 2013-07-27 06:39:15 +02:00
mplex gst: Add better support for static plugins 2013-04-15 15:59:22 +02:00
musepack gst: Add better support for static plugins 2013-04-15 15:59:22 +02:00
mythtv gst: Add better support for static plugins 2013-04-15 15:59:22 +02:00
nas gst: Add better support for static plugins 2013-04-15 15:59:22 +02:00
neon neonhttpsrc: add support for SCHEDULING query 2013-05-12 18:52:56 +01:00
ofa ofa: port to 1.0 2013-05-12 23:42:06 +01:00
openal openal: improved port to 1.0 2013-05-13 23:48:01 +01:00
opencv opencv: don't unref NULL caps in finalize 2013-09-29 23:43:23 +01:00
openexr openexrdec: Consider the pixel aspect ratio stored in the file 2013-11-23 19:11:42 +01:00
openjpeg openjpeg: Fix names of debug categories 2013-11-23 18:51:16 +01:00
opus gst: Add better support for static plugins 2013-04-15 15:59:22 +02:00
resindvd all: Fix for GST_DISABLE_GST_DEBUG 2013-07-29 09:42:12 +02:00
rsvg ext: Use new flush vfunc of video codec base classes and remove reset implementations 2013-08-15 15:46:58 +02:00
rtmp gst: Add better support for static plugins 2013-04-15 15:59:22 +02:00
sbc gst: Add better support for static plugins 2013-04-15 15:59:22 +02:00
schroedinger ext: Use new flush vfunc of video codec base classes and remove reset implementations 2013-08-15 15:46:58 +02:00
sdl gst: Add better support for static plugins 2013-04-15 15:59:22 +02:00
smoothstreaming mssdemux: fix setting codec_data when using WaveFormatEx 2013-11-27 09:26:36 -03:00
snapshot gst: Add better support for static plugins 2013-04-15 15:59:22 +02:00
sndfile gst: Add better support for static plugins 2013-04-15 15:59:22 +02:00
sndio Use gst_element_class_set_static_metadata() 2012-10-17 17:46:34 +01:00
soundtouch pitch: Fix inverted condition in setcaps 2013-10-12 16:04:25 -04:00
spandsp gst: Add better support for static plugins 2013-04-15 15:59:22 +02:00
spc gst: Add better support for static plugins 2013-04-15 15:59:22 +02:00
srtp srtpenc: Set the first session flag to false once one is create 2013-11-19 20:18:48 -05:00
teletextdec gst: Add better support for static plugins 2013-04-15 15:59:22 +02:00
timidity midi: Fix handling of the SEGMENT query 2013-07-29 12:17:57 +02:00
voaacenc gst: Add better support for static plugins 2013-04-15 15:59:22 +02:00
voamrwbenc gst: Add better support for static plugins 2013-04-15 15:59:22 +02:00
wayland all: Fix for GST_DISABLE_GST_DEBUG 2013-07-29 09:42:12 +02:00
webp webpdec: Some cleanup and minor fixes 2013-08-26 10:22:06 +02:00
xvid gst: Add better support for static plugins 2013-04-15 15:59:22 +02:00
zbar gst: Add better support for static plugins 2013-04-15 15:59:22 +02:00
Makefile.am openexr: Add OpenEXR plugin 2013-11-23 18:51:35 +01:00