diff --git a/gst/audiofx/audiopanorama.c b/gst/audiofx/audiopanorama.c index 3d0d68f50a..e257c36a2b 100644 --- a/gst/audiofx/audiopanorama.c +++ b/gst/audiofx/audiopanorama.c @@ -334,9 +334,11 @@ gst_audio_panorama_transform_caps (GstBaseTransform * base, if (direction == GST_PAD_SRC) { GST_INFO ("allow 1-2 channels"); gst_structure_set (structure, "channels", GST_TYPE_INT_RANGE, 1, 2, NULL); + gst_structure_remove_field (structure, "channel-mask"); } else { GST_INFO ("allow 2 channels"); gst_structure_set (structure, "channels", G_TYPE_INT, 2, NULL); + gst_structure_remove_field (structure, "channel-mask"); } return res;