Skip to content

Commit fcec5a9

Browse files
committed
Fix linux camera label rule document
1 parent 3d3830f commit fcec5a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/driver/camera/camera.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ Package camera provides a video camera driver.
44
Device Label Generation Rules
55
66
On Linux, the device label will be in the format of:
7-
/dev/video0;/dev/v4l/by-path/pci-0000:00:00.0-usb-0:0:0.0-video-index0
7+
pci-0000:00:00.0-usb-0:0:0.0-video-index0;video0
88
If /dev/v4l/by-path/* is not available (for example in a docker container without
99
bindings in /dev/v4l/by-path/), it will be:
10-
/dev/video0;/dev/video0
10+
video0;video0
1111
*/
1212
package camera
1313

0 commit comments

Comments
 (0)