Support rendering YUV formatted frames
This commit is contained in:
@@ -386,6 +386,7 @@ mp_camera_capture_buffer(MPCamera *camera, MPBuffer *buffer)
|
||||
}
|
||||
|
||||
int format = camera->camera->current_mode->format;
|
||||
assert(format != 0);
|
||||
uint32_t width = camera->camera->current_mode->width;
|
||||
uint32_t height = camera->camera->current_mode->height;
|
||||
|
||||
|
Reference in New Issue
Block a user