Skip to content

fix: skip non-V4L2 probe errors during enumeration - #5

Merged
taigrr merged 1 commit into
masterfrom
cd/skip-non-v4l2-errors
May 29, 2026
Merged

fix: skip non-V4L2 probe errors during enumeration#5
taigrr merged 1 commit into
masterfrom
cd/skip-non-v4l2-errors

Conversation

@taigrr

@taigrr taigrr commented May 29, 2026

Copy link
Copy Markdown
Owner

Summary

  • skip expected probe errors while scanning /dev/video* so one bad node does not abort enumeration
  • keep returning real failures like permission errors
  • add targeted tests for the new skip-vs-return behavior

Testing

  • staticcheck ./...
  • go test -race ./...

@taigrr
taigrr merged commit 70fc3a5 into master May 29, 2026
1 check passed
@taigrr
taigrr deleted the cd/skip-non-v4l2-errors branch July 26, 2026 03:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant