Get the signed property as a boolean

Original commit message from CVS:
Get the signed property as a boolean
This commit is contained in:
Wim Taymans 2002-03-30 17:19:32 +00:00
parent 444336ab90
commit 279b570c51

View file

@ -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,