diff --git a/sys/idsueye/gstidsueyesrc.c b/sys/idsueye/gstidsueyesrc.c index 55661b0..520c04d 100644 --- a/sys/idsueye/gstidsueyesrc.c +++ b/sys/idsueye/gstidsueyesrc.c @@ -462,6 +462,15 @@ gst_idsueyesrc_start (GstBaseSrc * bsrc) ("Failed to load parameter file: %s", src->config_file), (NULL)); return FALSE; } + } else { + ret = + is_ParameterSet (src->hCam, IS_PARAMETERSET_CMD_LOAD_EEPROM, NULL, + NULL); + if (ret != IS_SUCCESS) { + GST_ELEMENT_ERROR (src, RESOURCE, OPEN_READ, + ("Failed to load parameters from EEPROM"), (NULL)); + return FALSE; + } } gst_idsueyesrc_set_caps_from_camera (src);