Add a .gitignore file
[melted] / mlt++ / src / MltMiracle.cpp
index 42dbb40..1e6d7ea 100644 (file)
@@ -145,3 +145,13 @@ void Miracle::wait_for_shutdown( )
                nanosleep( &tm, NULL );
 }
 
+void Miracle::log_level( int threshold )
+{
+       miracle_log_init( log_stderr, threshold );
+}
+
+Properties *Miracle::unit( int index )
+{
+       mlt_properties properties = miracle_server_fetch_unit( server, index );
+       return properties != NULL ? new Properties( properties ) : NULL;
+}