mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 01:45:33 +00:00
print refcount in _show
Original commit message from CVS: print refcount in _show
This commit is contained in:
parent
91d33d766a
commit
2b3c56c4d1
1 changed files with 4 additions and 3 deletions
|
@ -1765,15 +1765,16 @@ gst_opt_scheduler_show (GstScheduler *sched)
|
||||||
GSList *groups = chain->groups;
|
GSList *groups = chain->groups;
|
||||||
chains = g_slist_next (chains);
|
chains = g_slist_next (chains);
|
||||||
|
|
||||||
g_print ("+- chain %p: %d groups, %d enabled, flags %d\n", chain, chain->num_groups, chain->num_enabled, chain->flags);
|
g_print ("+- chain %p: refcount %d, %d groups, %d enabled, flags %d\n",
|
||||||
|
chain, chain->refcount, chain->num_groups, chain->num_enabled, chain->flags);
|
||||||
|
|
||||||
while (groups) {
|
while (groups) {
|
||||||
GstOptSchedulerGroup *group = (GstOptSchedulerGroup *) groups->data;
|
GstOptSchedulerGroup *group = (GstOptSchedulerGroup *) groups->data;
|
||||||
GSList *elements = group->elements;
|
GSList *elements = group->elements;
|
||||||
groups = g_slist_next (groups);
|
groups = g_slist_next (groups);
|
||||||
|
|
||||||
g_print (" +- group %p: %d elements, %d enabled, flags %d, entry %s, %s\n",
|
g_print (" +- group %p: refcount %d, %d elements, %d enabled, flags %d, entry %s, %s\n",
|
||||||
group, group->num_elements, group->num_enabled, group->flags,
|
group, group->refcount, group->num_elements, group->num_enabled, group->flags,
|
||||||
(group->entry ? GST_ELEMENT_NAME (group->entry): "(none)"),
|
(group->entry ? GST_ELEMENT_NAME (group->entry): "(none)"),
|
||||||
(group->type == GST_OPT_SCHEDULER_GROUP_GET ? "get-based" : "loop-based") );
|
(group->type == GST_OPT_SCHEDULER_GROUP_GET ? "get-based" : "loop-based") );
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue