Safer waiting time

master
Benjamin Bädorf 2020-11-19 21:26:46 +01:00
parent 25f8d903ad
commit 1e7042f195
No known key found for this signature in database
GPG Key ID: 4406E80E13CD656C
1 changed files with 1 additions and 1 deletions

View File

@ -201,7 +201,7 @@ fn record_screen(config: &mut Config, output: SwayOutput) -> Result<Vec<Box<Chil
// TODO: This is slow, ugly, and prone to failure. ffmpeg will fail if wf-recorder isn't
// writing yet, however I'm not sure how to get an exact timing of when it's okay to start
// reading from the device.
thread::sleep(time::Duration::from_millis(40));
thread::sleep(time::Duration::from_millis(100));
let upscaler = Command::new("ffmpeg")
.args(&[