Skip to content

Conversation

@FranzAlbers
Copy link
Contributor

With multiple cameras, it can be handy to set the video devices using the symlinks provided in /dev/v4l/by-id or /dev/v4l/by-path, because the IDs in /dev/video<ID> may change after a reboot. However, the relative paths from these symlinks are currently just appended to /dev/ and thus falsely resolved to /dev/../../video<ID>.

With this PR, symlinks located in another directory than /dev/ can be used for the video_device parameter.

@flynneva flynneva self-requested a review February 4, 2025 15:02
@flynneva
Copy link
Collaborator

flynneva commented Feb 4, 2025

Oops it looks like unrelated to this PR I've broken CI so that the tests are not actually ran 😅 I'll test this locally and fix CI when I have the chance, but overall this looks good. Thanks 🙏

@flynneva
Copy link
Collaborator

flynneva commented Feb 8, 2025

wait i didnt mean to close this, was just trying to rebase. sorry about that 😓

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