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.
This commit is contained in:
Michael Smith 2008-10-30 00:17:12 +00:00
parent 4f5adba674
commit 130a6d86be
2 changed files with 6 additions and 2 deletions

View file

@ -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):

View 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;