-
Notifications
You must be signed in to change notification settings - Fork 46
Description
The code at line 1541 stores the video devices detected as a list and at line 1543 the code is using the last element (devices) detected from the list. This is causing it to fail because in my case /dev/video1 is not a valid device. Since the application doesn't seem to check which one of the detected device is working it always fails to start the webcam.
It generate the following error.
on_error(): (gerror=GLib.Error('Device '/dev/video1' is not a capture device.', 'gst-resource-error-quark', 3), debug='../sys/v4l2/v4l2_calls.c(634): gst_v4l2_open (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:\nCapabilities: 0x4a00000')
Traceback (most recent call last):
To replicate this
Go to -> Scan -> Scan-Using-Webcam
I am using Debian based Linux system.