summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Smith <msmith@xiph.org>2008-10-30 00:17:12 +0000
committerMichael Smith <msmith@xiph.org>2008-10-30 00:17:12 +0000
commit130a6d86bef311262132b25a41808baaac55ae89 (patch)
treed250abba510e6d2952a1860e8d624cbf1159f86d
parent4f5adba6742acc41dabcd5e6d215189bad4f2eb1 (diff)
downloadgst-plugins-bad-130a6d86bef311262132b25a41808baaac55ae89.tar.gz
gst-plugins-bad-130a6d86bef311262132b25a41808baaac55ae89.tar.bz2
gst-plugins-bad-130a6d86bef311262132b25a41808baaac55ae89.zip
gst/aiffparse/aiffparse.c: AIFF is always signed, even for 8 bit.
Original commit message from CVS: * gst/aiffparse/aiffparse.c: AIFF is always signed, even for 8 bit.
-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;