[FFmpeg-trac] #1570(avdevice:open): libv4l2: error dequeuing buf: Resource temporarily unavailable
FFmpeg
trac at avcodec.org
Sat Jul 28 14:48:22 CEST 2012
#1570: libv4l2: error dequeuing buf: Resource temporarily unavailable
-------------------------------------+-------------------------------------
Reporter: llarevo | Owner:
Type: defect | Status: open
Priority: normal | Component: avdevice
Version: unspecified | Resolution:
Keywords: | Blocked By:
video4linux, video4linux2, | Reproduced by developer: 0
v4l2.c, regression, capture, |
analog, tv |
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by llarevo):
I don't know how to do this. I tried:
{{{
cd ffmpeg
git checkout 70f7736
gedit hack.patch
}}}
I copied your hack above and saved it in the file "hack.patch". After
that, I did
{{{
patch -p0 < hack.patch
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/libavdevice/v4l2.c b/libavdevice/v4l2.c
|index 2808e13..0acd3da 100644
|--- a/libavdevice/v4l2.c
|+++ b/libavdevice/v4l2.c
--------------------------
File to patch: ^C
}}}
Then I tried
{{{
patch -p1 < hack.patch
patching file libavdevice/v4l2.c
Hunk #1 FAILED at 694.
1 out of 1 hunk FAILED -- saving rejects to file libavdevice/v4l2.c.rej
}}}
Sorry - I have not really a clue what I'm doing there. I don't find the
line
{{{
if (framerate_q.num && framerate_q.den) {
}}}
in the file "libavdevice/v4l2.c"
Can you give me a short advice how to "try this hack with an upstream
FFmpeg"? What means upstream? Shall I try the hack with the most recent
version? How can I get it with the git checkout command? If so, shall I
configure with "--enable-libv4l2" or without?
Sorry, but this is the first time I deal with source code, so any advice
is very appreciated.
Thanks a lot.
--
Felix
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1570#comment:3>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list