mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-23 16:09:47 +00:00
[V4L2] set the frame_raw_cb pitch correctly
This commit is contained in:
parent
8f78112261
commit
be830a0a1c
@ -494,7 +494,7 @@ static bool v4l_poll(void *data, retro_camera_frame_raw_framebuffer_t frame_raw_
|
|||||||
if (preprocess_image(data))
|
if (preprocess_image(data))
|
||||||
{
|
{
|
||||||
if (frame_raw_cb != NULL)
|
if (frame_raw_cb != NULL)
|
||||||
frame_raw_cb(buffer_output, v4l->width, v4l->height, v4l->width);
|
frame_raw_cb(buffer_output, v4l->width, v4l->height, v4l->width * 4);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user