mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-29 21:21:12 +00:00
audioconvert: set mix-matrix when user changes it to empty
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6243>
This commit is contained in:
parent
d0713e029c
commit
23f654a943
1 changed files with 1 additions and 0 deletions
|
@ -1016,6 +1016,7 @@ gst_audio_convert_set_property (GObject * object, guint prop_id,
|
||||||
break;
|
break;
|
||||||
case PROP_MIX_MATRIX:
|
case PROP_MIX_MATRIX:
|
||||||
if (!gst_value_array_get_size (value)) {
|
if (!gst_value_array_get_size (value)) {
|
||||||
|
g_value_copy (value, &this->mix_matrix);
|
||||||
this->mix_matrix_is_set = TRUE;
|
this->mix_matrix_is_set = TRUE;
|
||||||
} else {
|
} else {
|
||||||
const GValue *first_row = gst_value_array_get_value (value, 0);
|
const GValue *first_row = gst_value_array_get_value (value, 0);
|
||||||
|
|
Loading…
Reference in a new issue