adding a custom loading spinner to slides

This commit is contained in:
Chris Cochrun 2024-04-11 09:33:03 -05:00
parent 5df0302be9
commit 2428792895
5 changed files with 90 additions and 1 deletions

View file

@ -331,7 +331,6 @@ impl slide_model::SlideModel {
screenshot.to_str().unwrap()
).insert(0, &QString::from("file://")).to_owned();
slide.video_thumbnail = screenshot_string;
// let runtime = tokio::runtime::Runtime::new().unwrap();
std::thread::spawn(move || {
let result = ffmpeg::bg_from_video(&path, &screenshot);
match result {