mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 12:10:37 +00:00
gst/matroska/matroska-demux.c: Fix demuxing of raw integer audio. The samples are unsigned only for 8 bit and signed ...
Original commit message from CVS: * gst/matroska/matroska-demux.c: (gst_matroska_demux_audio_caps): Fix demuxing of raw integer audio. The samples are unsigned only for 8 bit and signed otherwise, not the other way around.
This commit is contained in:
parent
cbc3df738b
commit
f5fdbfd416
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2008-08-02 Sebastian Dröge <sebastian.droege@collabora.co.uk>
|
||||
|
||||
* gst/matroska/matroska-demux.c: (gst_matroska_demux_audio_caps):
|
||||
Fix demuxing of raw integer audio. The samples are unsigned only for 8
|
||||
bit and signed otherwise, not the other way around.
|
||||
|
||||
2008-08-02 Sebastian Dröge <sebastian.droege@collabora.co.uk>
|
||||
|
||||
* gst/matroska/matroska-mux.c:
|
||||
|
|
|
@ -5127,7 +5127,7 @@ gst_matroska_demux_audio_caps (GstMatroskaTrackAudioContext *
|
|||
caps = gst_caps_new_simple ("audio/x-raw-int",
|
||||
"width", G_TYPE_INT, audiocontext->bitdepth,
|
||||
"depth", G_TYPE_INT, audiocontext->bitdepth,
|
||||
"signed", G_TYPE_BOOLEAN, audiocontext->bitdepth == 8,
|
||||
"signed", G_TYPE_BOOLEAN, audiocontext->bitdepth != 8,
|
||||
"endianness", G_TYPE_INT, endianness, NULL);
|
||||
|
||||
*codec_name = g_strdup_printf ("Raw %d-bit PCM audio",
|
||||
|
|
Loading…
Reference in a new issue