[FFmpeg-trac] #9820(avdevice:new): v4l2_get_device_list always returns zero

FFmpeg trac at avcodec.org
Tue Jun 28 19:13:06 EEST 2022


#9820: v4l2_get_device_list always returns zero
-------------------------------------+-------------------------------------
             Reporter:  unusedsong   |                     Type:
                                     |  enhancement
               Status:  new          |                 Priority:  minor
            Component:  avdevice     |                  Version:  git-
                                     |  master
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 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.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9820>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list