intervalometer: reduce verbosity of deadband messages
Change deadband zone message from DEBUG to LOG level to prevent spam while still showing gain/exposure adjustment messages. This allows using --gst-debug to see important ramping information without flooding the output with 'Within deadband zone' messages every frame.
This commit is contained in:
@@ -720,7 +720,7 @@ gst_intervalometer_update_camera_settings (GstIntervalometer * filter,
|
||||
/* Check deadband zone - if enabled and brightness is within tolerance, skip adjustments */
|
||||
abs_error = fabs(filter->target_brightness - brightness);
|
||||
if (filter->brightness_deadband > 0.0 && abs_error < filter->brightness_deadband) {
|
||||
GST_DEBUG_OBJECT (filter, "Within deadband zone (error=%.2f < %.2f), skipping adjustment",
|
||||
GST_LOG_OBJECT (filter, "Within deadband zone (error=%.2f < %.2f), skipping adjustment",
|
||||
abs_error, filter->brightness_deadband);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user