projects
/
melted
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Add a .gitignore file
[melted]
/
mlt++
/
src
/
MltMiracle.cpp
diff --git
a/mlt++/src/MltMiracle.cpp
b/mlt++/src/MltMiracle.cpp
index
9f6a49a
..
1e6d7ea
100644
(file)
--- a/
mlt++/src/MltMiracle.cpp
+++ b/
mlt++/src/MltMiracle.cpp
@@
-149,3
+149,9
@@
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;
+}