summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--gst/aiffparse/aiffparse.c3
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 7885bea3..b7558aeb 100644
--- 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):
diff --git a/gst/aiffparse/aiffparse.c b/gst/aiffparse/aiffparse.c
index 5738f697..c45008b6 100644
--- a/gst/aiffparse/aiffparse.c
+++ b/gst/aiffparse/aiffparse.c
@@ -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;