print version for every standalone grabber and hyperiond

Former-commit-id: 736894a87ba3d056a8e4f1def236ae4670f16407
This commit is contained in:
redpanther
2016-03-10 12:01:10 +01:00
parent 49e867f5fc
commit 153d1f0999
6 changed files with 40 additions and 2 deletions

View File

@@ -24,6 +24,8 @@
#include "PixelFormatParameter.h"
#include "ScreenshotHandler.h"
#include "HyperionConfig.h"
using namespace vlofgren;
// save the image as screenshot
@@ -36,6 +38,11 @@ void saveScreenshot(void *, const Image<ColorRgb> & image)
int main(int argc, char** argv)
{
std::cout
<< "hyperion-v4l2:" << std::endl
<< "\tversion : " << HYPERION_VERSION_ID << std::endl
<< "\tbuild time: " << __DATE__ << " " << __TIME__ << std::endl;
QCoreApplication app(argc, argv);
// force the locale