diff --git a/src/xrt/drivers/v4l2/v4l2_driver.c b/src/xrt/drivers/v4l2/v4l2_driver.c index 706b56dba..bcf4695c5 100644 --- a/src/xrt/drivers/v4l2/v4l2_driver.c +++ b/src/xrt/drivers/v4l2/v4l2_driver.c @@ -761,9 +761,9 @@ v4l2_fs_stream_run(void *ptr) V_ERROR(vid, "error: Dequeue failed!"); vid->is_running = false; break; - } else { - V_SPEW(vid, "Got frame %i", v_buf.index); } + V_SPEW(vid, "Got frame %i", v_buf.index); + uint8_t *data = vid->capture.mem[v_buf.index]; diff --git a/src/xrt/drivers/v4l2/v4l2_interface.h b/src/xrt/drivers/v4l2/v4l2_interface.h index bda309eeb..da4a260d9 100644 --- a/src/xrt/drivers/v4l2/v4l2_interface.h +++ b/src/xrt/drivers/v4l2/v4l2_interface.h @@ -63,7 +63,7 @@ struct v4l2_source_descriptor * @ingroup drv_v4l2 */ struct xrt_fs* -v4l2_fs_create(const char* device, struct xrt_fs_sink* q); +v4l2_fs_create(const char* path, struct xrt_fs_sink* sink); #ifdef __cplusplus