mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
Typos
Former-commit-id: fc7bc3c0e4bddcb5a6b778c2afabc3940a08782c
This commit is contained in:
parent
f332473b77
commit
ad584aa548
@ -412,7 +412,7 @@ void V4L2Grabber::init_device(VideoStandard videoStandard, int input)
|
|||||||
_height = fmt.fmt.pix.height;
|
_height = fmt.fmt.pix.height;
|
||||||
|
|
||||||
// print the eventually used width and height
|
// print the eventually used width and height
|
||||||
std::cout << "V4L2 width=" << _width << " height=" << _height << std::endl;
|
std::cout << "V4L2GRABBER INFO: width=" << _width << " height=" << _height << std::endl;
|
||||||
|
|
||||||
// check pixel format and frame size
|
// check pixel format and frame size
|
||||||
switch (fmt.fmt.pix.pixelformat)
|
switch (fmt.fmt.pix.pixelformat)
|
||||||
|
@ -423,7 +423,7 @@ LedDevice * Hyperion::createColorSmoothing(const Json::Value & smoothingConfig,
|
|||||||
|
|
||||||
if (type == "none")
|
if (type == "none")
|
||||||
{
|
{
|
||||||
std::cout << "HYPERION INDO: Not creating any smoothing" << std::endl;
|
std::cout << "HYPERION INFO: Not creating any smoothing" << std::endl;
|
||||||
return ledDevice;
|
return ledDevice;
|
||||||
}
|
}
|
||||||
else if (type == "linear")
|
else if (type == "linear")
|
||||||
@ -439,7 +439,7 @@ LedDevice * Hyperion::createColorSmoothing(const Json::Value & smoothingConfig,
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
const unsigned updateDelay = smoothingConfig.get("updateDelay", Json::Value(0u)).asUInt();
|
const unsigned updateDelay = smoothingConfig.get("updateDelay", Json::Value(0u)).asUInt();
|
||||||
std::cout << "HYPERION INFO: Creating linear smoothing" << std::endl;
|
std::cout << "INFO: Creating linear smoothing" << std::endl;
|
||||||
return new LinearColorSmoothing(
|
return new LinearColorSmoothing(
|
||||||
ledDevice,
|
ledDevice,
|
||||||
smoothingConfig["updateFrequency"].asDouble(),
|
smoothingConfig["updateFrequency"].asDouble(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user