prepare standalone amlogic grabber

activate internal amlogic grabber forwarding


Former-commit-id: 21dabf759935836eef556baeb8a27e362e95ae96
This commit is contained in:
redpanther
2016-02-24 14:42:25 +01:00
parent 6bef43887b
commit 8fdf97e693
6 changed files with 8 additions and 4 deletions

View File

@@ -7,7 +7,7 @@
// getoptPlusPLus includes
#include <getoptPlusPlus/getoptpp.h>
#include "../../libsrc/grabber/amlogic/AmlogicGrabber.h"
#include <grabber/AmlogicGrabber.h>
using namespace vlofgren;

View File

@@ -316,6 +316,10 @@ int main(int argc, char** argv)
QObject::connect(xbmcVideoChecker, SIGNAL(videoMode(VideoMode)), amlGrabber, SLOT(setVideoMode(VideoMode)));
}
#ifdef ENABLE_PROTOBUF
QObject::connect(amlGrabber, SIGNAL(emitImage(int, const Image<ColorRgb>&, const int)), protoServer, SLOT(sendImageToProtoSlaves(int, const Image<ColorRgb>&, const int)) );
#endif
amlGrabber->start();
std::cout << "AMLOGIC grabber created and started" << std::endl;
}