projects
/
melted
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Run time type identification
[melted]
/
mlt++
/
src
/
MltFilter.cpp
diff --git
a/mlt++/src/MltFilter.cpp
b/mlt++/src/MltFilter.cpp
index
7842f55
..
90a178e
100644
(file)
--- a/
mlt++/src/MltFilter.cpp
+++ b/
mlt++/src/MltFilter.cpp
@@
-47,6
+47,16
@@
Filter::Filter( char *id, char *arg ) :
}
}
+Filter::Filter( Service &filter ) :
+ instance( NULL )
+{
+ if ( filter.type( ) == filter_type )
+ {
+ instance = ( mlt_filter )filter.get_service( );
+ inc_ref( );
+ }
+}
+
Filter::Filter( Filter &filter ) :
instance( filter.get_filter( ) )
{