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

It's possible to change MAX_DEVICES in elegant way? #215

Closed
shift-reality opened this issue Apr 6, 2019 · 2 comments
Closed

It's possible to change MAX_DEVICES in elegant way? #215

shift-reality opened this issue Apr 6, 2019 · 2 comments

Comments

@shift-reality
Copy link

shift-reality commented Apr 6, 2019

I need create 128 devices, but current limit is 8.

/* maximum number of v4l2loopback devices that can be created */
#ifndef MAX_DEVICES
# define MAX_DEVICES 8
#endif

How i can configure this const.?

@umlaeute
Copy link
Owner

umlaeute commented Apr 7, 2019

change it in the code?

or just pass a CFLAGS_... variable to the build process?

make clean
make CFLAGS_v4l2loopback.o=-DMAX_DEVICES=128

@umlaeute umlaeute closed this as completed Apr 7, 2019
@umlaeute
Copy link
Owner

umlaeute commented Apr 9, 2019

also note that this is a duplicate of #55.

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

No branches or pull requests

2 participants