summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2002-03-30 17:22:18 +0000
committerWim Taymans <wim.taymans@gmail.com>2002-03-30 17:22:18 +0000
commit7f17956d2bf613843b768b342219699bba4e1ed9 (patch)
treea31f20c5af0b59fb46a25d40ef5105f4d8689b90 /gst
parent279b570c515dc0e98ffc2ee4c3a466682018b6f1 (diff)
downloadgst-plugins-bad-7f17956d2bf613843b768b342219699bba4e1ed9.tar.gz
gst-plugins-bad-7f17956d2bf613843b768b342219699bba4e1ed9.tar.bz2
gst-plugins-bad-7f17956d2bf613843b768b342219699bba4e1ed9.zip
Get the 'signed' property as a boolean.
Original commit message from CVS: Get the 'signed' property as a boolean.
Diffstat (limited to 'gst')
-rw-r--r--gst/passthrough/gstpassthrough.c10
-rw-r--r--gst/speed/gstspeed.c10
2 files changed, 10 insertions, 10 deletions
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",
diff --git a/gst/speed/gstspeed.c b/gst/speed/gstspeed.c
index b5a03c01..f97dcf3c 100644
--- a/gst/speed/gstspeed.c
+++ b/gst/speed/gstspeed.c
@@ -145,11 +145,11 @@ speed_parse_caps (GstSpeed *filter, GstCaps *caps)
if (strcmp(format, "int")==0) {
filter->format = GST_SPEED_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 ("Speed : channels %d, rate %d\n",