From 95566d51df9e29b04c498ef0532ce4f906c9412b Mon Sep 17 00:00:00 2001 From: Maxim Devaev Date: Mon, 6 Jul 2026 14:10:28 +0300 Subject: [PATCH] fixed dv_timings_fd reset --- src/libs/capture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/capture.c b/src/libs/capture.c index 898fee9..d3e0ea8 100644 --- a/src/libs/capture.c +++ b/src/libs/capture.c @@ -365,7 +365,7 @@ void us_capture_close(us_capture_s *cap) { US_ARRAY_ITERATE(run->media_pads, 0, pad, { US_CLOSE_FD(pad->fd); }); US_CLOSE_FD(run->fd); - run->dv_timings_fd = 0; // It's just a copy of the media or device descriptor + run->dv_timings_fd = -1; // It's just a copy of the media or device descriptor if (say) { _LOG_INFO("Capturing stopped");