mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-24 09:34:25 +00:00
Get the 'signed' property as a boolean.
Original commit message from CVS: Get the 'signed' property as a boolean.
This commit is contained in:
parent
279b570c51
commit
7f17956d2b
2 changed files with 10 additions and 10 deletions
|
@ -131,7 +131,7 @@ passthrough_connect_sink (GstPad *pad, GstCaps *caps)
|
|||
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_boolean (caps, "signed", &filter->is_signed);
|
||||
|
||||
if (! filter->silent) {
|
||||
g_print ("Passthrough : channels %d, rate %d\n",
|
||||
|
|
|
@ -149,7 +149,7 @@ speed_parse_caps (GstSpeed *filter, GstCaps *caps)
|
|||
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_boolean (caps, "signed", &filter->is_signed);
|
||||
|
||||
if (!filter->silent) {
|
||||
g_print ("Speed : channels %d, rate %d\n",
|
||||
|
|
Loading…
Reference in a new issue