controller: port to GstValueArray removal API change
This commit is contained in:
parent
b53c02417c
commit
43aa0a8aca
@ -837,9 +837,8 @@ volume_transform_ip (GstBaseTransform * base, GstBuffer * outbuf)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (mute_csource) {
|
if (mute_csource) {
|
||||||
GstValueArray va = { "mute", nsamples, interval, (gpointer) self->mutes };
|
if (!gst_control_source_get_value_array (mute_csource, ts, interval,
|
||||||
|
nsamples, (gpointer) self->mutes))
|
||||||
if (!gst_control_source_get_value_array (mute_csource, ts, &va))
|
|
||||||
goto controller_failure;
|
goto controller_failure;
|
||||||
|
|
||||||
gst_object_unref (mute_csource);
|
gst_object_unref (mute_csource);
|
||||||
@ -852,10 +851,8 @@ volume_transform_ip (GstBaseTransform * base, GstBuffer * outbuf)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (volume_csource) {
|
if (volume_csource) {
|
||||||
GstValueArray va =
|
if (!gst_control_source_get_value_array (volume_csource, ts, interval,
|
||||||
{ "volume", nsamples, interval, (gpointer) self->volumes };
|
nsamples, (gpointer) self->volumes))
|
||||||
|
|
||||||
if (!gst_control_source_get_value_array (volume_csource, ts, &va))
|
|
||||||
goto controller_failure;
|
goto controller_failure;
|
||||||
|
|
||||||
gst_object_unref (volume_csource);
|
gst_object_unref (volume_csource);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user