rpicamsrc: RaspiCapture: handle MMAL_EVENT_ERROR
This commit is contained in:
parent
ed893592ea
commit
149fdee7fb
@ -752,8 +752,9 @@ static void camera_control_callback(MMAL_PORT_T *port, MMAL_BUFFER_HEADER_T *buf
|
||||
break;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
else if (buffer->cmd == MMAL_EVENT_ERROR) {
|
||||
vcos_log_error("Camera control callback got an error");
|
||||
} else {
|
||||
vcos_log_error("Received unexpected camera control callback event, 0x%08x", buffer->cmd);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user