mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 03:00:35 +00:00
rpicamsrc: RaspiCapture: handle MMAL_EVENT_ERROR
This commit is contained in:
parent
ed893592ea
commit
149fdee7fb
1 changed files with 3 additions and 2 deletions
|
@ -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…
Reference in a new issue