mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
nle: Enhance debug logging
This commit is contained in:
parent
3c127d9622
commit
fdd1456062
1 changed files with 9 additions and 4 deletions
|
@ -2496,11 +2496,16 @@ _relink_children_recursively (NleComposition * comp,
|
|||
_relink_single_node (comp, child, toplevel_seek);
|
||||
|
||||
if (G_UNLIKELY (nbchildren < oper->num_sinks))
|
||||
GST_ERROR ("Not enough sinkpads to link all objects to the operation ! "
|
||||
"%d / %d", oper->num_sinks, nbchildren);
|
||||
GST_ERROR_OBJECT (comp,
|
||||
"%" GST_PTR_FORMAT
|
||||
" Not enough sinkpads to link all objects to the operation ! "
|
||||
"%d / %d", oper, oper->num_sinks, nbchildren);
|
||||
|
||||
if (G_UNLIKELY (nbchildren == 0))
|
||||
GST_ERROR ("Operation has no child objects to be connected to !!!");
|
||||
if (G_UNLIKELY (nbchildren == 0)) {
|
||||
GST_ERROR_OBJECT (comp,
|
||||
"Operation %" GST_PTR_FORMAT
|
||||
" has no child objects to be connected to !!!", oper);
|
||||
}
|
||||
/* Make sure we have enough sinkpads */
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue