diff --git a/gst/audiofx/audiopanorama.c b/gst/audiofx/audiopanorama.c index 89b57e2b3f..984459cadd 100644 --- a/gst/audiofx/audiopanorama.c +++ b/gst/audiofx/audiopanorama.c @@ -333,15 +333,15 @@ gst_audio_panorama_transform_caps (GstBaseTransform * base, for (i = 0; i < gst_caps_get_size (res); i++) { structure = gst_caps_get_structure (res, i); if (direction == GST_PAD_SRC) { - GST_INFO ("allow 1-2 channels"); + GST_INFO_OBJECT (base, "[%d] allow 1-2 channels", i); 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_INFO_OBJECT (base, "[%d] allow 2 channels", i); gst_structure_set (structure, "channels", G_TYPE_INT, 2, NULL); - gst_structure_remove_field (structure, "channel-mask"); } } + GST_DEBUG_OBJECT (base, "transformed %" GST_PTR_FORMAT, res); if (filter) { GstCaps *intersection;