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.
This commit is contained in:

committed by
Martijn Braam

parent
8282b4eaca
commit
6cfc9bfc05
@@ -921,6 +921,7 @@ on_movie_start(void)
|
|||||||
|
|
||||||
movie_recording = 1;
|
movie_recording = 1;
|
||||||
printf("movie recording on\n");
|
printf("movie recording on\n");
|
||||||
|
setup_capture();
|
||||||
spawn_movie("start");
|
spawn_movie("start");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user