diff options
author | Umang Jain <umang.jain@ideasonboard.com> | 2022-04-07 09:24:09 +0530 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-04-07 10:21:50 +0300 |
commit | 85204b4b4444b47af2a3f7c4592dcd2a4bb9dfc5 (patch) | |
tree | 386dbef8f5b202e0dd4ac0ad8ba5798b7c04916f /test/v4l2_videodevice/stream_on_off.cpp | |
parent | e2d00fbcbb1a9b2da50fa2e280817a0de1a7d286 (diff) |
libcamera: v4l2_videodevice: Fix uninitialised watchdogDuration_
Initialise the watchdogDuration_ member to 0ms before it is used
in rest of the code base. Failing to do so, spews out log warnings
regarding dequeue timer being expired.
Fixes: 16f3d2de50ff ("libcamera: v4l2_videodevice: Add a dequeue timer")
Signed-off-by: Umang Jain <umang.jain@ideasonboard.com>
Reviewed-by: Naushir Patuck <naush@raspberrypi.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'test/v4l2_videodevice/stream_on_off.cpp')
0 files changed, 0 insertions, 0 deletions