Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <mlt++/Mlt.h>
- using namespace Mlt;
- int main(int argc, char **argv) {
- Factory::init();
- Profile profile;
- Playlist list;
- for (int i = 1; i < argc; i++) {
- Producer p(profile, argv[i]);
- if (p.is_valid())
- list.append(p);
- }
- Consumer c(profile, NULL, "sdl");
- c.connect(list);
- c.run();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment