rscam icon indicating copy to clipboard operation
rscam copied to clipboard

Poll for new frames with pselect and add timeout

Open spebern opened this issue 2 years ago • 0 comments

This pull request waits for polls readiness with pselect and adds a timeout parameter in the Config. This has two advantages:

  1. Without pselect the capture function blocks forever when a camera is unplugged and there is no way to support hotplug.
  2. We can support a timeout in the config

spebern avatar Nov 15 '21 14:11 spebern