Closed vkulpa closed 8 years ago
Is this possible to have param to the module (default is 1) saying how many video devices should be created? I've tried to modify usbtv-core.c and duplicated code that creates/initializes usbtv struct. It created 2 devices but the first "died" then the second started stream. Unfortunately, I'm not good in C and in v4l2 and don't know how to do it.
Let me know if it's possible maybe there's another easiest way to duplicate existing video device.
@vkulpa this module is maintained in the main kernel now, so this question should be done on the kernel ml or bugzilla (or video subsystem).
@simon3z ok, great, tnx, for letting me know. Moving the question there and closing this one.
Is this possible to have param to the module (default is 1) saying how many video devices should be created? I've tried to modify
usbtv-core.c
and duplicated code that creates/initializesusbtv
struct. It created 2 devices but the first "died" when the second started stream. Unfortunately, I'm not good in C and in v4l2 and don't know how to do it.Let me know if it's possible maybe there's another easiest way to duplicate existing video device.