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

@ -148,7 +148,7 @@ volume_parse_caps (GstVolume *filter, GstCaps *caps)
gst_caps_get_int (caps, "depth", &filter->depth); gst_caps_get_int (caps, "depth", &filter->depth);
gst_caps_get_int (caps, "law", &filter->law); gst_caps_get_int (caps, "law", &filter->law);
gst_caps_get_int (caps, "endianness", &filter->endianness); gst_caps_get_int (caps, "endianness", &filter->endianness);
gst_caps_get_int (caps, "signed", &filter->is_signed); gst_caps_get_boolean (caps, "signed", &filter->is_signed);
if (!filter->silent) { if (!filter->silent) {
g_print ("Volume : channels %d, rate %d\n", g_print ("Volume : channels %d, rate %d\n",