X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=mlt%2B%2B%2Ftest%2Fserver.cpp;h=eb5a6f54697a98797db62f511c4ddb1f08729eb4;hb=e6e1b9178bb65857ac64fdd866436abbf6db284b;hp=bcedd6f58475578296a6979dba99abddd087b601;hpb=6304b71fff4c066401782c968163c3455c395970;p=melted diff --git a/mlt++/test/server.cpp b/mlt++/test/server.cpp index bcedd6f..eb5a6f5 100644 --- a/mlt++/test/server.cpp +++ b/mlt++/test/server.cpp @@ -1,5 +1,6 @@ #include #include +#include #include using namespace std; @@ -10,6 +11,7 @@ class Custom : public Miracle { private: Event *event; + Profile profile; public: Custom( char *name = "Custom", int port = 5290, char *config = NULL ) : @@ -29,7 +31,7 @@ class Custom : public Miracle Response *received( char *command, char *document ) { cerr << document << endl; - Producer producer( "westley-xml", document ); + Producer producer( profile, "westley-xml", document ); return push( command, &producer ); }