v4l/libv4l: allow opening device by name #6391

Merged
merged 1 commit into from Apr 12, 2016

Projects

None yet

3 participants

@virtuald
Contributor
  • Allows using non-default device names such as /dev/v4l/by-path/pci-0000:00:1d.0-usb-0:1.1:1.0-video-index0
  • Resolves #6390

Tested using a python script on Fedora 22. It's a pretty straightforward change, and is really useful when you have multiple video devices and you cannot depend on the ordering of the /dev/videoX devices.

@virtuald virtuald v4l/libv4l: allow opening device by name
- Allows using non-default device names such as /dev/v4l/by-path/pci-0000:00:1d.0-usb-0:1.1:1.0-video-index0
e489f29
@alalek
Contributor
alalek commented Apr 12, 2016

👍

@alalek alalek self-assigned this Apr 12, 2016
@opencv-pushbot opencv-pushbot merged commit e489f29 into opencv:master Apr 12, 2016

1 check passed

default Required builds passed
Details
@virtuald virtuald deleted the virtuald:v4l-device-name branch Apr 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment