VIDIOC_QBUF error 22, Invalid argument

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


(追記) (追記ここまで)



Hi all!
this is my first post in this mailing list so I hope I'm not asking in the
wrong place.
I had an application based on this code:
 http://libv4l2cam.googlecode.com/svn/trunk/v4l2stereo/libcam.cpp
working fine without problems, but since I updated my Ubuntu to the 10.04 (I
suppose this is somehow related) it began to crash randomly with the
following error:
 VIDIOC_QBUF error 22, Invalid argument
I traced the error and it happens in the method Camera::Get() when using
IO_METHOD_MMAP in the following lines:
 if (-1 == xioctl(fd, VIDIOC_QBUF, &buf))
 errno_exit("VIDIOC_QBUF");
so when I try to read a frame from the camera.
Any hint of what could be going wrong?
Thank you very much.
Best regards,
-- 
Víctor Gaspar
------------------------------------------------------------------------------------------------------------------
Please consider your environmental responsibilities before printing this
email.
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

[Index of Archives] [Linux Media] [Older V4L] [Linux DVB] [Video Disk Recorder] [Linux Kernel] [Asterisk] [DCCP] [Netdev] [X.org] [Util Linux] [Xfree86] [Free Photo Albums] [Fedora Users] [Fedora Women] [ALSA Users] [ALSA Devel] [SSH] [DVB Maintainers] [Linux USB] [Yosemite Information]
Powered by Linux

AltStyle によって変換されたページ (->オリジナル) /