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

Use v4l2_device_set_name to set name for added v4l2 loopback devices #408

Open
wt opened this issue Feb 27, 2021 · 0 comments
Open

Use v4l2_device_set_name to set name for added v4l2 loopback devices #408

wt opened this issue Feb 27, 2021 · 0 comments
Assignees

Comments

@wt
Copy link
Contributor

wt commented Feb 27, 2021

This should be a pretty easy one. The module source currently does a manual snprintf to set the device's name upon creation of a new loopback device. Instead, those calls should use v4l2_device_set_name.

Possible affected lines @ https://github.com/umlaeute/v4l2loopback/blob/main/v4l2loopback.c#L2418-L2419 and https://github.com/umlaeute/v4l2loopback/blob/main/v4l2loopback.c#L2440.

FWIW, I am filing this so that I don't forget to take a closer look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants