Get the 'signed' property as a boolean.

Original commit message from CVS:
Get the 'signed' property as a boolean.
This commit is contained in:
Wim Taymans 2002-03-30 17:22:18 +00:00
parent 23d2a4198b
commit 082c24afe8

View file

@ -144,11 +144,11 @@ volume_parse_caps (GstVolume *filter, GstCaps *caps)
if (strcmp(format, "int")==0) {
filter->format = GST_VOLUME_FORMAT_INT;
gst_caps_get_int (caps, "width", &filter->width);
gst_caps_get_int (caps, "depth", &filter->depth);
gst_caps_get_int (caps, "law", &filter->law);
gst_caps_get_int (caps, "endianness", &filter->endianness);
gst_caps_get_int (caps, "signed", &filter->is_signed);
gst_caps_get_int (caps, "width", &filter->width);
gst_caps_get_int (caps, "depth", &filter->depth);
gst_caps_get_int (caps, "law", &filter->law);
gst_caps_get_int (caps, "endianness", &filter->endianness);
gst_caps_get_boolean (caps, "signed", &filter->is_signed);
if (!filter->silent) {
g_print ("Volume : channels %d, rate %d\n",