From f8628a344c8633a17fd4fd71087105643bfe1104 Mon Sep 17 00:00:00 2001 From: Kristian Vos Date: Sun, 4 Aug 2024 10:58:44 +0200 Subject: [PATCH] Don't call libmegapixels_open twice in a row in io_pipeline --- src/io_pipeline.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/io_pipeline.c b/src/io_pipeline.c index 0582029..881fce6 100644 --- a/src/io_pipeline.c +++ b/src/io_pipeline.c @@ -577,7 +577,6 @@ update_state(MPPipeline *pipeline, const mp_state_io *new_state) state_io.camera = new_state->camera; if (state_io.camera) { - libmegapixels_open(state_io.camera); mpcamera = mp_camera_new(state_io.camera); state_io.mode_preview = NULL; state_io.mode_capture = NULL;