X-Git-Url: http://47.100.26.94:8080/?a=blobdiff_plain;f=main.cpp;h=83affc283d7ebe0bf089176c8391bc27056c1c43;hb=2c38aedb2051562fc83dd20037e0f5271355b591;hp=c38b655388cf5e665b43deb8c9466847a72183f6;hpb=b3feccd1ee1186c37b39844dc566d39aedaa54ed;p=trackerpp.git diff --git a/main.cpp b/main.cpp index c38b655..83affc2 100644 --- a/main.cpp +++ b/main.cpp @@ -23,10 +23,10 @@ class Callback : public EngineObserver int main(int argc, char* argv[]) { - initLogger("log4cpp.properties"); + initLogger("./config/log4cpp.properties"); LOG_DEBUG(TAG, "=================================="); - Engine* e = Engine::create(); + EnginePtr e = Engine::create(); e->addObserver(new Callback()); e->setVideoSrc(VideoSrcType::URL, "rtsp://192.168.1.75:554/stream1"); e->start();