Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix UVC camera auto-selection in case of multiple pattern matches #2051

Merged
merged 1 commit into from
Nov 12, 2020

Conversation

papr
Copy link
Contributor

@papr papr commented Nov 12, 2020

Affected process: world
Used patterns for camera auto selection: ["ID2", "Logitech"]

Matched cameras were only sorted by bus number. This PR introduces priority based on the matched pattern order. Bus number is used as secondary sort key.

Affected process: `world`
Used patterns for camera auto selection: `["ID2", "Logitech"]`

Matched cameras were only sorted by bus number. This PR introduces priority based on the matched pattern order. Bus number is used as secondary sort key.
@papr papr requested a review from romanroibu November 12, 2020 12:56
@papr papr merged commit 05170b6 into develop Nov 12, 2020
@papr papr deleted the fix-uvc-cam-autoselection branch November 12, 2020 13:27
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