[FFmpeg-trac] #1560(avdevice:new): v4l2 device won't open after opening/closing it 16 times
FFmpeg
trac at avcodec.org
Fri Jul 20 11:04:12 CEST 2012
#1560: v4l2 device won't open after opening/closing it 16 times
------------------------------------+------------------------------------
Reporter: tmatth | Owner:
Type: defect | Status: new
Priority: normal | Component: avdevice
Version: git-master | Resolution:
Keywords: v4l2 | Blocked By:
Blocking: | Reproduced by developer: 1
Analyzed by developer: 0 |
------------------------------------+------------------------------------
Comment (by Cigaes):
Your patch would clearly be right by itself, but the whole paragraph is
just redundant:
[http://git.linuxtv.org/v4l-
utils.git/blob/HEAD:/lib/libv4l2/libv4l2.c#l578]
{{{v4l2_open}}} already calls {{{v4l2_fd_open}}}, calling a second time
only uses an additional slot in libv4l2 structures that will never be
deallocated.
I sent a patch to the devel mailing list.
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1560#comment:5>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list