mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
volume: Remove useless cast
It's not necessary anymore after latest core change to GstValueArray.
This commit is contained in:
parent
e92fe0fdcb
commit
5f10a8a9b5
1 changed files with 2 additions and 3 deletions
|
@ -932,8 +932,7 @@ volume_transform_ip (GstBaseTransform * base, GstBuffer * outbuf)
|
|||
}
|
||||
|
||||
if (mute_csource) {
|
||||
GstValueArray va =
|
||||
{ (char *) "mute", nsamples, interval, (gpointer) self->mutes };
|
||||
GstValueArray va = { "mute", nsamples, interval, (gpointer) self->mutes };
|
||||
|
||||
if (!gst_control_source_get_value_array (mute_csource, ts, &va))
|
||||
goto controller_failure;
|
||||
|
@ -948,7 +947,7 @@ volume_transform_ip (GstBaseTransform * base, GstBuffer * outbuf)
|
|||
|
||||
if (volume_csource) {
|
||||
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))
|
||||
goto controller_failure;
|
||||
|
|
Loading…
Reference in a new issue