Skip to content

[Backport release/0.0.14] fix(camera): select V4L2 for Linux device paths - #4196

Open
github-actions[bot] wants to merge 1 commit into
release/0.0.14from
backport/4159-to-release/0.0.14
Open

github-actions[bot] wants to merge 1 commit into
release/0.0.14from
backport/4159-to-release/0.0.14

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Description

Backport of #4159 to release/0.0.14.

@greptile-apps

greptile-apps Bot commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

Safe to merge: the changed webcam configuration and backend-selection behavior work across the supported identifier and platform cases.

What we checked:

  • An independent validation script was run against the PR source using CPython 3.12.14 and reported 10 passing mocked WebcamConfig-to-cv2 flows with exit code 0. T-Rex
  • The focused webcam backend test module completed successfully with 12 passing tests in the same validation run. T-Rex
  • The validation confirmed the path selection behavior: the previous integer-only configuration rejected /dev/video0, while the updated implementation accepts the path and selects the expected backend. T-Rex
  • Evidence artifacts were prepared to enable review of the validation outcomes and the baseline comparison. T-Rex

Summary

This update expands webcam configuration to accept device paths, normalizes numeric string identifiers into integer indices, and selects the V4L2 backend for Linux /dev/ camera paths while retaining automatic backend selection for numeric indices, streams, and other platforms.

Reviews (1) · Last reviewed commit: "fix(camera): select V4L2 for Linux devic..."

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.

2 participants