mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +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
23d2a4198b
commit
082c24afe8
1 changed files with 5 additions and 5 deletions
|
@ -148,7 +148,7 @@ volume_parse_caps (GstVolume *filter, GstCaps *caps)
|
||||||
gst_caps_get_int (caps, "depth", &filter->depth);
|
gst_caps_get_int (caps, "depth", &filter->depth);
|
||||||
gst_caps_get_int (caps, "law", &filter->law);
|
gst_caps_get_int (caps, "law", &filter->law);
|
||||||
gst_caps_get_int (caps, "endianness", &filter->endianness);
|
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) {
|
if (!filter->silent) {
|
||||||
g_print ("Volume : channels %d, rate %d\n",
|
g_print ("Volume : channels %d, rate %d\n",
|
||||||
|
|
Loading…
Reference in a new issue