when calling ioctl(fdCapture, VIDIOC_DQBUF, &buf) in CaptureFrame() , my program went into an endless waiting. by debugging , I found that in in video-buf.c , if (vb->state == STATE_ACTIVE || vb->state == STATE_QUEUED) schedule(); my program was blocked here.
Wanna know if there are some possible reasons causing this blocking.
Time is nothing, timing is everything!
One thought would be if your capture hardware was not receiving a proper clock and syncs meaning it never acknowledges receiving a new frame and so you are queued indefinitely.
Hi Bernie,
I am facing a similar problem. Can you please elaborate more on your above explanation?
Thanks a lot.
Regards,
Avneet
Just a quick guess, Can you check by changing your polarity.
By the way which kernel and evm you are using.
Hi Sujit,
I am a beginner in this field. I am sorry I didn't understand what you mean by "changing the polarity"??
I am using dvsdk 4.02.00.06 with linux 2.6.32 on DM368.