logging migration of blackborder and grabber (#108)

* logging migration of blackborder and grabber

* change to "Debug" for noise blackborder log messages
This commit is contained in:
penfold42
2016-07-12 23:13:06 +10:00
committed by brindosch
parent 49f16ac2e6
commit 7b9b9bcdef
9 changed files with 18 additions and 14 deletions

View File

@@ -412,8 +412,9 @@ void V4L2Grabber::init_device(VideoStandard videoStandard, int input)
_width = fmt.fmt.pix.width;
_height = fmt.fmt.pix.height;
// print the eventually used width and height
std::cout << "V4L2GRABBER INFO: width=" << _width << " height=" << _height << std::endl;
// display the used width and height
Info(Logger::getInstance("V4l2GRABBER"), "width=%d height=%d", _width, _height );
// check pixel format and frame size
switch (fmt.fmt.pix.pixelformat)

View File

@@ -1,6 +1,5 @@
// STL includes
#include <cerrno>
#include <cstring>
#include <csignal>