[V4L2] set the frame_raw_cb pitch correctly

This commit is contained in:
ToadKing 2013-11-15 19:38:48 -05:00
parent 8f78112261
commit be830a0a1c

View File

@ -494,7 +494,7 @@ static bool v4l_poll(void *data, retro_camera_frame_raw_framebuffer_t frame_raw_
if (preprocess_image(data))
{
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;
}
else