diff --git a/gst/volume/gstvolume.c b/gst/volume/gstvolume.c index b4adec6ee5..5ed22387b2 100644 --- a/gst/volume/gstvolume.c +++ b/gst/volume/gstvolume.c @@ -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",