fixed dv_timings_fd reset

This commit is contained in:
Maxim Devaev
2026-07-06 14:10:28 +03:00
parent b1c5276ab4
commit 95566d51df

View File

@@ -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_ARRAY_ITERATE(run->media_pads, 0, pad, { US_CLOSE_FD(pad->fd); });
US_CLOSE_FD(run->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) { if (say) {
_LOG_INFO("Capturing stopped"); _LOG_INFO("Capturing stopped");