diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | gst/matroska/matroska-demux.c | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -1,5 +1,11 @@ 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: Add more raw YUV formats to the list of supported formats. 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", |