gst/matroska/matroska-mux.c: The "signed" field in audio caps is of boolean type...
authorTim-Philipp Müller <tim@centricular.net>
Sun, 24 Dec 2006 11:24:59 +0000 (11:24 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Sun, 24 Dec 2006 11:24:59 +0000 (11:24 +0000)
commit7735292ec2300a00b1f7778a4c91e60843b4cec9
treea93ef32785ad120b48b3773ee39e931fb16cb136
parent2f003d73d5e1d16120c66fdcfe68a5df1aba2fbc
gst/matroska/matroska-mux.c: The "signed" field in audio caps is of boolean type, trying to use gst_structure_get_int...

Original commit message from CVS:
* gst/matroska/matroska-mux.c:
(gst_matroska_mux_audio_pad_setcaps):
The "signed" field in audio caps is of boolean type, trying to use
gst_structure_get_int() to extract it will fail. Fixing this makes
matroskamux accept raw audio input (#387121) (use at your own risk
though, due to the matroska spec being not entirely useful in this
respect).
Also fix up raw audio structures in template caps so that they
represent what our setcaps function will actually accept, so that
converters know what to convert to.
Finally, don't fail if there isn't an "endianness" field in 8-bit
PCM caps.
ChangeLog
gst/matroska/matroska-mux.c