mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Reset/V4L2/Systemd/rpi_ws281x/Profiler (#820)
This commit is contained in:
@@ -248,16 +248,8 @@ void V4L2Grabber::getV4Ldevices()
|
||||
break;
|
||||
case V4L2_FRMSIZE_TYPE_CONTINUOUS:
|
||||
case V4L2_FRMSIZE_TYPE_STEPWISE:
|
||||
{
|
||||
for(unsigned int y = frmsizeenum.stepwise.min_height; y <= frmsizeenum.stepwise.max_height; y += frmsizeenum.stepwise.step_height)
|
||||
{
|
||||
for(unsigned int x = frmsizeenum.stepwise.min_width; x <= frmsizeenum.stepwise.max_width; x += frmsizeenum.stepwise.step_width)
|
||||
{
|
||||
properties.resolutions << QString::number(x) + "x" + QString::number(y);
|
||||
enumFrameIntervals(properties.framerates, fd, fmt.fmt.pix.pixelformat, x, y);
|
||||
}
|
||||
}
|
||||
}
|
||||
// We do not take care of V4L2_FRMSIZE_TYPE_CONTINUOUS or V4L2_FRMSIZE_TYPE_STEPWISE
|
||||
break;
|
||||
}
|
||||
frmsizeenum.index++;
|
||||
}
|
||||
|
Reference in New Issue
Block a user