mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +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
|
@ -144,11 +144,11 @@ volume_parse_caps (GstVolume *filter, GstCaps *caps)
|
|||
|
||||
if (strcmp(format, "int")==0) {
|
||||
filter->format = GST_VOLUME_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 ("Volume : channels %d, rate %d\n",
|
||||
|
|
Loading…
Reference in a new issue