diff options
author | Sebastian Dröge <slomo@circular-chaos.org> | 2008-08-02 17:57:31 +0000 |
---|---|---|
committer | Sebastian Dröge <slomo@circular-chaos.org> | 2008-08-02 17:57:31 +0000 |
commit | f5fdbfd4167f4e7d7db2e0c9f8a63648466f639b (patch) | |
tree | 96323ca602232ace77aeb231abd9027dafbf6a42 /gst | |
parent | cbc3df738bf6802cbaea33fbbca9ac7434671953 (diff) |
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.
Diffstat (limited to 'gst')
-rw-r--r-- | gst/matroska/matroska-demux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/matroska/matroska-demux.c b/gst/matroska/matroska-demux.c index ff3f7f40..bea8c8c4 100644 --- a/gst/matroska/matroska-demux.c +++ b/gst/matroska/matroska-demux.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", |