mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
V4L2 enhanced (#766)
* fix v4l2 standard * ignore v4l2 meta devices * added resolution, framerate and device dropdown list to WebUI (thx to @Lord-Grey & @b1rdhous3) * Fix for kernels prior to v4.16 * Device names added & WebUI adapted
This commit is contained in:
@@ -90,8 +90,8 @@ bool Grabber::setWidthHeight(int width, int height)
|
||||
|
||||
bool Grabber::setFramerate(int fps)
|
||||
{
|
||||
if(fps > 0)
|
||||
if((fps > 0) && (_fps != fps))
|
||||
_fps = fps;
|
||||
|
||||
return fps > 0;
|
||||
}
|
||||
|
||||
return (fps > 0) && (_fps != fps);
|
||||
}
|
||||
|
Reference in New Issue
Block a user