From 155087f253fe520bac16f947d815645e3ee551c1 Mon Sep 17 00:00:00 2001 From: ddennedy Date: Tue, 6 Jan 2009 05:30:36 +0000 Subject: [PATCH] mlt_repository.c: report reason when dlopen fails. git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@1305 d19143bc-622f-0410-bfdd-b5b2a6649095 --- src/framework/mlt_repository.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/framework/mlt_repository.c b/src/framework/mlt_repository.c index f821abb..7150397 100644 --- a/src/framework/mlt_repository.c +++ b/src/framework/mlt_repository.c @@ -99,7 +99,7 @@ mlt_repository mlt_repository_init( const char *directory ) } else if ( strstr( object_name, "libmlt" ) ) { - fprintf( stderr, "%s, %s: failed to dlopen %s\n", __FILE__, __FUNCTION__, object_name ); + fprintf( stderr, "%s, %s: failed to dlopen %s\n (%s)\n", __FILE__, __FUNCTION__, object_name, dlerror() ); } } -- 1.7.4.4