mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
nlecomposition: Don't try dump null stack
Fixes following assertion Unexpected critical/warning: g_node_traverse: assertion 'root != NULL' failed
This commit is contained in:
parent
02cdb8b051
commit
8b3e304f15
1 changed files with 3 additions and 0 deletions
|
@ -2967,6 +2967,9 @@ _dump_stack (NleComposition * comp, GNode * stack)
|
|||
#ifndef GST_DISABLE_GST_DEBUG
|
||||
GString *res;
|
||||
|
||||
if (!stack)
|
||||
return;
|
||||
|
||||
if (gst_debug_category_get_threshold (nlecomposition_debug) < GST_LEVEL_INFO)
|
||||
return;
|
||||
|
||||
|
|
Loading…
Reference in a new issue