Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
From: Charles Yates <charles.yates@pa...> - 2004-08-16 22:32:15
I've checked in a c++ wrapping for mlt (called mlt++).
My gut reaction is that this provides a better basis for the bindings
than the previous attempt. mlt-bindings makes heavy use of swig specific
code to provide the object oriented feel to the bindings and fell short
in a couple of regards. Most importantly, the natural class hierarchy of
the C API was lost, with access to parent classes being rather
unnaturally forced out to methods (ie: the .properties method). We also
lost the important service class (I dropped it because it would have
made the objects even more unwieldy).
While I could have worked around these for specific languages (the
%mixin for ruby for example), this would have made the already large
swig definition harder to keep in one source file (thus giving us a
headache for maintenance).
The c++ wrapping have proven to be simpler and provide a more natural
model for the bindings - in particular, the shortcomings cited above are
gone, the swig definition is tiny and of course, we get the c++ wrapping
too... Further to that, migration from mlt-bindings to mlt++-bindings is
This is in CVS for anyone who wants to check it out (I included a swig
directory though it isn't built by default - configure, make and install
the main mlt++ before attempting them). The mlt-bindings extensions
(attach/detach_filter) have not been added yet and the image
handling/carray will also need to be provided again. I've dropped guile
for the time being.
Caveat: I haven't really tested it much....
Anyway, hope it's of interest,