From 98ae16848cbb475d0cf2058126ba43fc08baa858 Mon Sep 17 00:00:00 2001 From: Kristian Vos Date: Mon, 30 Sep 2024 14:38:08 +0200 Subject: [PATCH] Fix preview not working after switching windows --- src/io_pipeline.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/io_pipeline.c b/src/io_pipeline.c index 5a254cf..0ce080e 100644 --- a/src/io_pipeline.c +++ b/src/io_pipeline.c @@ -375,6 +375,7 @@ on_frame(MPBuffer buffer, void *_data) // an image, in which case the flash window may be active instead of this // window if (!check_window_active() && state_io.captures_remaining == 0) { + mp_io_pipeline_release_buffer(buffer.index); return; }