Opened 3 years ago
Closed 3 years ago
#9820 closed enhancement (fixed)
v4l2_get_device_list always returns zero
Reported by: | unusedsong | Owned by: | |
---|---|---|---|
Priority: | minor | Component: | avdevice |
Version: | git-master | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
In doc for avdevice_list_input_sources
we can see:
@return count of autodetected devices, negative on error.
But get_device_list
for v4l2 returns zero on success.
It's a little confusing.
Perhaps there should be a pointing to nb_devices
field.
Note:
See TracTickets
for help on using tickets.
Fixed in 64f04df37942c1b1fc11df0f99ffba7834c33f34.