kayasrc: issue warning when exposure time value is invalid
This commit is contained in:
parent
4e18c58e19
commit
85b4e242ca
@ -269,8 +269,12 @@ static void
|
||||
gst_kayasrc_set_exposure_time (GstKayaSrc * src)
|
||||
{
|
||||
if (src->cam_handle != INVALID_CAMHANDLE) {
|
||||
KYFG_SetCameraValueFloat (src->cam_handle, "ExposureTime",
|
||||
FGSTATUS ret = KYFG_SetCameraValueFloat (src->cam_handle, "ExposureTime",
|
||||
src->exposure_time);
|
||||
if (ret != FGSTATUS_OK) {
|
||||
GST_WARNING_OBJECT (src, "Exposure time %.3f invalid",
|
||||
src->exposure_time);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user