Changes between Initial Version and Version 2 of Ticket #1560
- Timestamp:
- Jul 19, 2012, 10:47:20 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1560
- Property Reproduced by developer set
-
Ticket #1560 – Description
initial v2 2 2 3 3 In the attached case, I open and close a v4l2 device (/dev/video0) 17 times. On the 17th time, it fails to open with the following errors: 4 4 {{{ 5 5 libv4l2: error attempting to open more then 16 video devices 6 6 [video4linux2,v4l2 @ 0x1f6a5c0] ioctl(VIDIOC_QUERYCAP): Bad file descriptor 7 7 Could not open input "/dev/video0" 8 8 }}} 9 9 How to reproduce: 10 10 Build and run the attached test case with a v4l2 device connected. 11 11 12 12 I'm using the ffmpeg git master branch: 13 13 {{{ 14 14 ffmpeg version N-42636-ga8d8e86 Copyright (c) 2000-2012 the FFmpeg developers 15 15 built on Jul 19 2012 17:32:59 with gcc 4.7.0 (GCC) 20120507 (Red Hat 4.7.0-5) 16 16 configuration: --prefix=/opt/ --enable-bzlib --enable-gnutls --enable-libv4l2 --enable-libx264 --enable-x11grab --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --enable-pic 17 }}}


