This commit is contained in:
Maxim Devaev
2024-03-08 10:44:55 +02:00
parent a75d6487e3
commit 66572806a2

View File

@@ -264,7 +264,6 @@ void us_device_close(us_device_s *dev) {
_D_LOG_PERROR("Can't stop capturing"); _D_LOG_PERROR("Can't stop capturing");
} }
run->streamon = false; run->streamon = false;
_D_LOG_DEBUG("VIDIOC_STREAMOFF successful");
} }
if (run->hw_bufs != NULL) { if (run->hw_bufs != NULL) {
@@ -291,7 +290,6 @@ void us_device_close(us_device_s *dev) {
} }
US_DELETE(run->hw_bufs, free); US_DELETE(run->hw_bufs, free);
run->n_bufs = 0; run->n_bufs = 0;
_D_LOG_DEBUG("All HW buffers released");
} }
US_CLOSE_FD(run->fd); US_CLOSE_FD(run->fd);