<div dir="ltr"><div dir="ltr">Hi Umang,<div><br></div><div>Thank you for fixing this.  Sorry I did not spot it earlier.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 6 Apr 2022 at 15:46, Umang Jain <<a href="mailto:umang.jain@ideasonboard.com">umang.jain@ideasonboard.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Initialise the watchdogDuration_ member to 0ms before it is used<br>
in rest of the code base. Failing to do so, spews out log warnings<br>
regarding dequeue timer being expired.<br>
<br>
Fixes: 16f3d2de50ff ("libcamera: v4l2_videodevice: Add a dequeue timer")<br>
Signed-off-by: Umang Jain <<a href="mailto:umang.jain@ideasonboard.com" target="_blank">umang.jain@ideasonboard.com</a>><br></blockquote><div><br></div><div>Reviewed-by: Naushir Patuck <<a href="mailto:naush@raspberrypi.com">naush@raspberrypi.com</a>></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
---<br>
 src/libcamera/v4l2_videodevice.cpp | 5 ++++-<br>
 1 file changed, 4 insertions(+), 1 deletion(-)<br>
<br>
diff --git a/src/libcamera/v4l2_videodevice.cpp b/src/libcamera/v4l2_videodevice.cpp<br>
index 634ac4a5..8e0afffe 100644<br>
--- a/src/libcamera/v4l2_videodevice.cpp<br>
+++ b/src/libcamera/v4l2_videodevice.cpp<br>
@@ -39,6 +39,8 @@<br>
<br>
 namespace libcamera {<br>
<br>
+using namespace std::literals::chrono_literals;<br>
+<br>
 LOG_DECLARE_CATEGORY(V4L2)<br>
<br>
 /**<br>
@@ -520,7 +522,8 @@ const std::string V4L2DeviceFormat::toString() const<br>
  */<br>
 V4L2VideoDevice::V4L2VideoDevice(const std::string &deviceNode)<br>
        : V4L2Device(deviceNode), formatInfo_(nullptr), cache_(nullptr),<br>
-         fdBufferNotifier_(nullptr), state_(State::Stopped)<br>
+         fdBufferNotifier_(nullptr), state_(State::Stopped),<br>
+         watchdogDuration_(0ms)<br>
 {<br>
        /*<br>
         * We default to an MMAP based CAPTURE video device, however this will<br>
-- <br>
2.31.0<br>
<br>
</blockquote></div></div>