From 8b3e304f15cb69f6446776718ca79619d15646b1 Mon Sep 17 00:00:00 2001 From: Seungha Yang Date: Mon, 14 Jan 2019 12:45:29 +0900 Subject: [PATCH] nlecomposition: Don't try dump null stack Fixes following assertion Unexpected critical/warning: g_node_traverse: assertion 'root != NULL' failed --- plugins/nle/nlecomposition.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/nle/nlecomposition.c b/plugins/nle/nlecomposition.c index 75d9151b87..2f90b43a65 100644 --- a/plugins/nle/nlecomposition.c +++ b/plugins/nle/nlecomposition.c @@ -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;