mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-03 15:06:34 +00:00
audiopanorama: add more debug logging
This commit is contained in:
parent
02956d7778
commit
86ae581928
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue