projects
/
trackerpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add libs support for linux x86_64 platform
[trackerpp.git]
/
main.cpp
diff --git
a/main.cpp
b/main.cpp
index
c38b655
..
1dbaef5
100644
(file)
--- a/
main.cpp
+++ b/
main.cpp
@@
-1,7
+1,7
@@
#include<iostream>
#include<iostream>
-#include "
src/
Engine.h"
+#include "Engine.h"
#include <string>
#include <string>
-#include "
src/
Logger.h"
+#include "Logger.h"
#define TAG "Main"
#define TAG "Main"
@@
-23,10
+23,10
@@
class Callback : public EngineObserver
int main(int argc, char* argv[])
{
int main(int argc, char* argv[])
{
- initLogger("log4cpp.properties");
+ initLogger("
./config/
log4cpp.properties");
LOG_DEBUG(TAG, "==================================");
LOG_DEBUG(TAG, "==================================");
- Engine
*
e = Engine::create();
+ Engine
Ptr
e = Engine::create();
e->addObserver(new Callback());
e->setVideoSrc(VideoSrcType::URL, "rtsp://192.168.1.75:554/stream1");
e->start();
e->addObserver(new Callback());
e->setVideoSrc(VideoSrcType::URL, "rtsp://192.168.1.75:554/stream1");
e->start();