mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-12 02:15:31 +00:00
controller: port to GstValueArray removal API change
This commit is contained in:
parent
b53c02417c
commit
43aa0a8aca
1 changed files with 4 additions and 7 deletions
|
@ -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…
Reference in a new issue