[FFmpeg-trac] #4030(avdevice:open): V4L2 recording results in invalid data & buffer still owned errors

FFmpeg trac at avcodec.org
Tue Oct 21 11:48:01 CEST 2014


#4030: V4L2 recording results in invalid data & buffer still owned errors
------------------------------------+------------------------------------
             Reporter:  thender     |                    Owner:
                 Type:  defect      |                   Status:  open
             Priority:  normal      |                Component:  avdevice
              Version:  git-master  |               Resolution:
             Keywords:  v4l2        |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+------------------------------------

Comment (by holden):

 Replying to [comment:11 thender]:

 > libavdevice # patch -p1 <0001-lavd-v4l2-produce-a-0-byte-packet-when-a
 -dequeued-bu.patch v4l2.c

 If it can be of any help, you can use the following procedure to apply the
 patch:

 1) make sure your master branch is updated:

 {{{
 git checkout master
 make distclean
 git pull
 }}}

 2) now create a new branch and apply the patch

 {{{
 git checkout -b v4l2fix
 git am 0001-lavd-v4l2-produce-a-0-byte-packet-when-a-dequeued-bu.patch
 }}}

 3) Configure / compile / test

 4) When you're done you can switch to your master branch again and delete
 the other

 {{{
 git checkout master
 git branch -D v4l2fix
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/4030#comment:13>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list