I am writing a code to display a video using V4l2 drivers (On OMAPEVM ).
When I run the code.. It is giving an error message that .. memory could
not be allocated.
This error I am getting when I am calling dispaly application from a QT
application,(QT internally uses /dev/fb0 ).
But when I run the display application directly (with out integrating with
QT).. memory allocation is proper and display is also coming.
reqbuf.type = V4L2_BUF_TYPE_VIDEO_OUTPUT; //V4L2_BUF_TYPE_VIDEO_OVERLAY
reqbuf.count = numbuffers;
reqbuf.memory = V4L2_MEMORY_USERPTR; //V4L2_MEMORY_MMAP;
printf("allocating buffers \n");
ret = ioctl(display_fd, VIDIOC_REQBUFS, &reqbuf);
I am getting the same error with V4L2_MEMORY_MMAP memory configuration
Can somebody guide me .. what could be the reason for this?
Experience certainty. IT Services
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
video4linux-list mailing list