From 6cfc9bfc054f72cc610cbd6b693eebe3250b61c7 Mon Sep 17 00:00:00 2001 From: Andrey Skvortsov Date: Sat, 29 Mar 2025 14:36:50 +0300 Subject: [PATCH] video: fix missing directory on video capture if photo was taken before, then temporary directory in tmpfs was clean and removed after all files were processed. Internal burst_dir variable contains old value for directory, that doesn't exist anymore. Let's create new temporary directory, when video recording is started. --- src/process_pipeline.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/process_pipeline.c b/src/process_pipeline.c index c26e832..ec43373 100644 --- a/src/process_pipeline.c +++ b/src/process_pipeline.c @@ -921,6 +921,7 @@ on_movie_start(void) movie_recording = 1; printf("movie recording on\n"); + setup_capture(); spawn_movie("start"); }