v4l2: Remove internal thread

Now that libcamera creates threads internally and doesn't rely on an
application-provided event loop, remove the thread from the V4L2
compatibility layer. The split between the V4L2CameraProxy and
V4L2Camera classes is still kept to separate the V4L2 adaptation from
camera operation. This may be further refactored later.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
This commit is contained in:
Laurent Pinchart 2020-01-20 01:09:34 +02:00
parent b3b0d0a2e9
commit 8a8502ec0e
4 changed files with 31 additions and 75 deletions

View file

@ -21,7 +21,7 @@
using namespace libcamera;
class V4L2Camera : public Object
class V4L2Camera
{
public:
struct Buffer {