Lines 2025-2031
Link Here
|
2025 |
b->length = buffer_size; |
2025 |
b->length = buffer_size; |
2026 |
b->field = V4L2_FIELD_NONE; |
2026 |
b->field = V4L2_FIELD_NONE; |
2027 |
b->flags = 0; |
2027 |
b->flags = 0; |
|
|
2028 |
#if LINUX_VERSION_CODE < KERNEL_VERSION(3,6,0) |
2028 |
b->input = 0; |
2029 |
b->input = 0; |
|
|
2030 |
#endif |
2029 |
b->m.offset = i * buffer_size; |
2031 |
b->m.offset = i * buffer_size; |
2030 |
b->memory = V4L2_MEMORY_MMAP; |
2032 |
b->memory = V4L2_MEMORY_MMAP; |
2031 |
b->sequence = 0; |
2033 |
b->sequence = 0; |