Advertisement
Guest User

Untitled

a guest
Aug 29th, 2011
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. buf.type = V4L2_BUF_TYPE_VIDEO_OUTPUT;
  2. buf.index = frame->index;
  3. buf.m.userptr = (unsigned long)frame->data;
  4. buf.memory = V4L2_MEMORY_USERPTR;
  5.  
  6. ioctl(vid1_fd, VIDIOC_QBUF, &buf);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement