From d623411a26dedb22a9f2f09bd07dab842a01d9af Mon Sep 17 00:00:00 2001 From: Seungha Yang Date: Mon, 28 Jan 2019 16:34:15 +0900 Subject: [PATCH] ges: Print initialize error reasons --- ges/ges.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/ges/ges.c b/ges/ges.c index 3bfc044a47..38a4780504 100644 --- a/ges/ges.c +++ b/ges/ges.c @@ -78,11 +78,16 @@ ges_init_post (GOptionContext * context, GOptionGroup * group, gpointer data, } uriasset_klass = g_type_class_ref (GES_TYPE_URI_CLIP_ASSET); - if (!uriasset_klass || !uriasset_klass->discoverer) + if (!uriasset_klass || !uriasset_klass->discoverer) { + GST_ERROR ("missing uri asset class %p or discoverer %p", uriasset_klass, + uriasset_klass ? uriasset_klass->discoverer : NULL); goto failed; + } - if (!uriasset_klass->sync_discoverer) + if (!uriasset_klass->sync_discoverer) { + GST_ERROR ("missing sync discoverer"); goto failed; + } nlecomposition_factory = gst_element_factory_find ("nlecomposition"); if (!nlecomposition_factory) {