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:
Jurijs Satcs 2024-02-29 09:30:47 +01:00 committed by GStreamer Marge Bot
parent d0713e029c
commit 23f654a943

View file

@ -1016,6 +1016,7 @@ gst_audio_convert_set_property (GObject * object, guint prop_id,
break;
case PROP_MIX_MATRIX:
if (!gst_value_array_get_size (value)) {
g_value_copy (value, &this->mix_matrix);
this->mix_matrix_is_set = TRUE;
} else {
const GValue *first_row = gst_value_array_get_value (value, 0);