Refactor controls

This commit is contained in:
Martijn Braam
2023-07-20 16:20:23 +02:00
parent c4969cec6c
commit d51a2fb263
6 changed files with 273 additions and 206 deletions

View File

@@ -1083,6 +1083,10 @@ update_state(MPPipeline *pipeline, const struct mp_process_pipeline_state *state
.has_auto_focus_start = state->has_auto_focus_start,
.preview_buffer_width = output_buffer_width,
.preview_buffer_height = output_buffer_height,
.control_gain = state->control_gain,
.control_exposure = state->control_exposure,
.control_focus = state->control_focus,
.control_flash = state->control_flash,
};
mp_main_update_state(&new_state);
}