diff options
Diffstat (limited to 'rotord/rotord.h')
| -rwxr-xr-x | rotord/rotord.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rotord/rotord.h b/rotord/rotord.h index f0f24ac..0eb7c76 100755 --- a/rotord/rotord.h +++ b/rotord/rotord.h @@ -19,6 +19,7 @@ #include "Poco/Util/OptionSet.h" #include "Poco/Util/HelpFormatter.h" #include "Poco/FileStream.h" +#include "Poco/Net/HTTPStreamFactory.h" #include <iostream> #include <sstream> @@ -43,6 +44,7 @@ using Poco::Util::Option; using Poco::Util::OptionSet; using Poco::Util::OptionCallback; using Poco::Util::HelpFormatter; +using Poco::Net::HTTPStreamFactory; //#include "avCodec.h" @@ -105,6 +107,7 @@ class RotorServer: public Poco::Util::ServerApplication int main(int argc, char** argv) { + HTTPStreamFactory::registerFactory(); RotorServer app; return app.run(argc, argv); } |
