From 7f17956d2bf613843b768b342219699bba4e1ed9 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Sat, 30 Mar 2002 17:22:18 +0000 Subject: Get the 'signed' property as a boolean. Original commit message from CVS: Get the 'signed' property as a boolean. --- gst/passthrough/gstpassthrough.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'gst/passthrough') diff --git a/gst/passthrough/gstpassthrough.c b/gst/passthrough/gstpassthrough.c index e7f6c1d2..9cbd4e56 100644 --- a/gst/passthrough/gstpassthrough.c +++ b/gst/passthrough/gstpassthrough.c @@ -127,11 +127,11 @@ passthrough_connect_sink (GstPad *pad, GstCaps *caps) if (strcmp (format, "int") == 0) { filter->format = GST_PASSTHROUGH_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 ("Passthrough : channels %d, rate %d\n", -- cgit v1.2.1