Changeset 4310
- Timestamp:
- Dec 19, 2012 5:38:28 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia-videodev/v4l2_dev.c
r3901 r4310 671 671 pj_time_val time; 672 672 pj_status_t status = PJ_SUCCESS; 673 unsigned tmp_idx; 673 674 674 675 pj_bzero(&buf, sizeof(buf)); … … 698 699 699 700 on_return: 701 tmp_idx = buf.index; 700 702 pj_bzero(&buf, sizeof(buf)); 701 703 buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; 702 704 buf.memory = V4L2_MEMORY_MMAP; 705 buf.index = tmp_idx; 703 706 xioctl(stream->fd, VIDIOC_QBUF, &buf); 704 707
Note: See TracChangeset
for help on using the changeset viewer.