summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2002-03-30 17:19:32 +0000
committerWim Taymans <wim.taymans@gmail.com>2002-03-30 17:19:32 +0000
commit279b570c515dc0e98ffc2ee4c3a466682018b6f1 (patch)
tree64971e6b48fb9a80b225fa6c592a77cc58ebdd69 /ext
parent444336ab9055ff036ae8ba5ba25591174d3b87de (diff)
downloadgst-plugins-bad-279b570c515dc0e98ffc2ee4c3a466682018b6f1.tar.gz
gst-plugins-bad-279b570c515dc0e98ffc2ee4c3a466682018b6f1.tar.bz2
gst-plugins-bad-279b570c515dc0e98ffc2ee4c3a466682018b6f1.zip
Get the signed property as a boolean
Original commit message from CVS: Get the signed property as a boolean
Diffstat (limited to 'ext')
-rw-r--r--ext/audiofile/gstafsink.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/audiofile/gstafsink.c b/ext/audiofile/gstafsink.c
index 0a32c178..620082c9 100644
--- a/ext/audiofile/gstafsink.c
+++ b/ext/audiofile/gstafsink.c
@@ -311,11 +311,11 @@ gst_afsink_open_file (GstAFSink *sink)
}
else
{
- gst_caps_get_int (caps, "channels", &sink->channels);
- gst_caps_get_int (caps, "width", &sink->width);
- gst_caps_get_int (caps, "rate", &sink->rate);
- gst_caps_get_int (caps, "signed", &sink->is_signed);
- gst_caps_get_int (caps, "endianness", &sink->endianness_data);
+ gst_caps_get_int (caps, "channels", &sink->channels);
+ gst_caps_get_int (caps, "width", &sink->width);
+ gst_caps_get_int (caps, "rate", &sink->rate);
+ gst_caps_get_boolean (caps, "signed", &sink->is_signed);
+ gst_caps_get_int (caps, "endianness", &sink->endianness_data);
}
GST_DEBUG (GST_CAT_PLUGIN_INFO, "channels %d, width %d, rate %d, signed %s",
sink->channels, sink->width, sink->rate,