volume: Remove useless cast
It's not necessary anymore after latest core change to GstValueArray.
This commit is contained in:
parent
e92fe0fdcb
commit
5f10a8a9b5
@ -932,8 +932,7 @@ volume_transform_ip (GstBaseTransform * base, GstBuffer * outbuf)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (mute_csource) {
|
if (mute_csource) {
|
||||||
GstValueArray va =
|
GstValueArray va = { "mute", nsamples, interval, (gpointer) self->mutes };
|
||||||
{ (char *) "mute", nsamples, interval, (gpointer) self->mutes };
|
|
||||||
|
|
||||||
if (!gst_control_source_get_value_array (mute_csource, ts, &va))
|
if (!gst_control_source_get_value_array (mute_csource, ts, &va))
|
||||||
goto controller_failure;
|
goto controller_failure;
|
||||||
@ -948,7 +947,7 @@ volume_transform_ip (GstBaseTransform * base, GstBuffer * outbuf)
|
|||||||
|
|
||||||
if (volume_csource) {
|
if (volume_csource) {
|
||||||
GstValueArray va =
|
GstValueArray va =
|
||||||
{ (char *) "volume", nsamples, interval, (gpointer) self->volumes };
|
{ "volume", nsamples, interval, (gpointer) self->volumes };
|
||||||
|
|
||||||
if (!gst_control_source_get_value_array (volume_csource, ts, &va))
|
if (!gst_control_source_get_value_array (volume_csource, ts, &va))
|
||||||
goto controller_failure;
|
goto controller_failure;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user