kvm/internal/native/cgo
Adam Shiervani 0f4e073a45 Fix VIDIOC_S_FMT EBUSY error on video stream restart
V4L2 buffers were not explicitly freed before closing the device, causing VIDIOC_S_FMT to fail with EBUSY on restart. Added  VIDIOC_REQBUFS(count=0) call in cleanup to free buffer queue synchronously before close().

This ensures subsequent opens can set format immediately without EBUSY errors, eliminating 100ms+ retry delays.
2025-10-17 14:55:43 +00:00
..
.gitignore feat: jetkvm native in cGo 2025-09-29 14:09:30 +02:00
CMakeLists.txt feat: jetkvm native in cGo 2025-09-29 14:09:30 +02:00
ctrl.c feat: add video quality factor config 2025-10-17 14:55:43 +00:00
ctrl.h feat: add video quality factor config 2025-10-17 14:55:43 +00:00
edid.c feat: jetkvm native in cGo 2025-09-29 14:09:30 +02:00
edid.h feat: jetkvm native in cGo 2025-09-29 14:09:30 +02:00
log.h feat: jetkvm native in cGo 2025-09-29 14:09:30 +02:00
log_handler.c feat: jetkvm native in cGo 2025-09-29 14:09:30 +02:00
log_handler.h feat: jetkvm native in cGo 2025-09-29 14:09:30 +02:00
lvgl-minify.del feat: jetkvm native in cGo 2025-09-29 14:09:30 +02:00
lvgl-minify.patch feat: jetkvm native in cGo 2025-09-29 14:09:30 +02:00
lvgl_defconfig feat: jetkvm native in cGo 2025-09-29 14:09:30 +02:00
screen.c feat: jetkvm native in cGo 2025-09-29 14:09:30 +02:00
screen.h feat: jetkvm native in cGo 2025-09-29 14:09:30 +02:00
ui feat: jetkvm native in cGo 2025-09-29 14:09:30 +02:00
ui_index.gen.sh feat: jetkvm native in cGo 2025-09-29 14:09:30 +02:00
ui_index.h feat: jetkvm native in cGo 2025-09-29 14:09:30 +02:00
video.c Fix VIDIOC_S_FMT EBUSY error on video stream restart 2025-10-17 14:55:43 +00:00
video.h feat: add video quality factor config 2025-10-17 14:55:43 +00:00