summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Sauer <ensonic@users.sf.net>2013-02-05 07:32:29 +0100
committerStefan Sauer <ensonic@users.sf.net>2013-02-05 18:51:27 +0100
commit86ae5819284b59eaaf2d0580dd2a2fef9629fe99 (patch)
tree7cd291c805d3f00ed52630b6e3b7b919dce9412a
parent02956d77786e36418d152ffd256be130e32f4087 (diff)
audiopanorama: add more debug logging
-rw-r--r--gst/audiofx/audiopanorama.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gst/audiofx/audiopanorama.c b/gst/audiofx/audiopanorama.c
index 89b57e2b3..984459cad 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;