kaysrc: don't try and set zero exposure time
Mostly to get rid of annoying warnings
This commit is contained in:
parent
402841ec91
commit
b0dad8b7b2
@ -301,7 +301,7 @@ gst_kayasrc_get_exposure_time (GstKayaSrc * src)
|
||||
static void
|
||||
gst_kayasrc_set_exposure_time (GstKayaSrc * src)
|
||||
{
|
||||
if (src->cam_handle != INVALID_CAMHANDLE) {
|
||||
if (src->cam_handle != INVALID_CAMHANDLE && src->exposure_time > 0) {
|
||||
FGSTATUS ret = KYFG_SetCameraValueFloat (src->cam_handle, "ExposureTime",
|
||||
src->exposure_time);
|
||||
if (ret != FGSTATUS_OK) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user