From 130a6d86bef311262132b25a41808baaac55ae89 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Thu, 30 Oct 2008 00:17:12 +0000 Subject: [PATCH] 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. --- ChangeLog | 5 +++++ gst/aiffparse/aiffparse.c | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7885bea383..b7558aeba0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-10-29 Michael Smith + + * gst/aiffparse/aiffparse.c: + AIFF is always signed, even for 8 bit. + 2008-10-29 Wim Taymans * gst-libs/gst/app/gstappsink.c: (gst_app_sink_class_init): diff --git a/gst/aiffparse/aiffparse.c b/gst/aiffparse/aiffparse.c index 5738f69746..c45008b6d8 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;