From 082c24afe88e5b35a6e29e42f7631df913892f95 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Sat, 30 Mar 2002 17:22:18 +0000 Subject: [PATCH] Get the 'signed' property as a boolean. Original commit message from CVS: Get the 'signed' property as a boolean. --- gst/volume/gstvolume.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gst/volume/gstvolume.c b/gst/volume/gstvolume.c index b4adec6..5ed2238 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", -- 2.7.4