gst/aiffparse/aiffparse.c: AIFF is always signed, even for 8 bit.
authorMichael Smith <msmith@xiph.org>
Thu, 30 Oct 2008 00:17:12 +0000 (00:17 +0000)
committerMichael Smith <msmith@xiph.org>
Thu, 30 Oct 2008 00:17:12 +0000 (00:17 +0000)
Original commit message from CVS:
* gst/aiffparse/aiffparse.c:
AIFF is always signed, even for 8 bit.

ChangeLog
gst/aiffparse/aiffparse.c

index 7885bea..b7558ae 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-10-29  Michael Smith <msmith@songbirdnest.com>
+
+       * gst/aiffparse/aiffparse.c:
+         AIFF is always signed, even for 8 bit.
+
 2008-10-29  Wim Taymans  <wim.taymans@collabora.co.uk>
 
        * gst-libs/gst/app/gstappsink.c: (gst_app_sink_class_init):
index 5738f69..c45008b 100644 (file)
@@ -742,8 +742,7 @@ gst_aiffparse_create_caps (AIFFParse * aiff)
       "depth", G_TYPE_INT, aiff->depth,
       "channels", G_TYPE_INT, aiff->channels,
       "endianness", G_TYPE_INT, aiff->endianness,
-      "rate", G_TYPE_INT, aiff->rate,
-      "signed", G_TYPE_BOOLEAN, aiff->width != 8, NULL);
+      "rate", G_TYPE_INT, aiff->rate, "signed", G_TYPE_BOOLEAN, TRUE, NULL);
 
   GST_DEBUG_OBJECT (aiff, "Created caps: %" GST_PTR_FORMAT, caps);
   return caps;