mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
basetransform: improve debugging
This commit is contained in:
parent
fe0d89f73b
commit
afb9d81be9
1 changed files with 2 additions and 0 deletions
|
@ -812,8 +812,10 @@ gst_base_transform_default_decide_allocation (GstBaseTransform * trans,
|
||||||
/* remove all memory dependent metadata because we are going to have to
|
/* remove all memory dependent metadata because we are going to have to
|
||||||
* allocate different memory for input and output. */
|
* allocate different memory for input and output. */
|
||||||
if (gst_meta_api_type_has_tag (api, GST_META_TAG_MEMORY)) {
|
if (gst_meta_api_type_has_tag (api, GST_META_TAG_MEMORY)) {
|
||||||
|
GST_LOG_OBJECT (trans, "removing memory metadata %s", g_type_name (api));
|
||||||
gst_query_remove_nth_allocation_meta (query, i);
|
gst_query_remove_nth_allocation_meta (query, i);
|
||||||
i--;
|
i--;
|
||||||
|
n_metas--;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue