adding a custom loading spinner to slides
This commit is contained in:
parent
5df0302be9
commit
2428792895
5 changed files with 90 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue