implement webui live video (#340)

* implement webui live video

* add missing german translation
This commit is contained in:
redPanther
2016-12-18 19:00:14 +01:00
committed by GitHub
parent 23194730c2
commit 721668fc85
15 changed files with 156 additions and 20 deletions

View File

@@ -88,10 +88,10 @@ void V4L2Wrapper::set3D(VideoMode mode)
void V4L2Wrapper::newFrame(const Image<ColorRgb> &image)
{
// forward to other hyperions
if ( _forward )
{
//if ( _forward )
//{
emit emitImage(_priority, image, _timeout_ms);
}
//}
// process the new image
_processor->process(image, _ledColors);

View File

@@ -64,10 +64,10 @@ void X11Wrapper::action()
// Grab frame into the allocated image
_grabber->grabFrame(_image);
if ( _forward )
{
//if ( _forward )
//{
emit emitImage(_priority, _image, _timeout_ms);
}
//}
_processor->process(_image, _ledColors);
setColors(_ledColors, _timeout_ms);