Allow more skipping if video is behind
This commit is contained in:
parent
8eface2200
commit
c726fca224
2 changed files with 9 additions and 5 deletions
|
|
@ -233,8 +233,7 @@ fn ffmpeg_thread<P: AsRef<Path>>(
|
|||
}
|
||||
})?;
|
||||
|
||||
// This is a sync channel to reduce skipping
|
||||
let (gpu_frame_tx, gpu_frame_rx) = mpsc::sync_channel::<(Video, Option<Instant>)>(1);
|
||||
let (gpu_frame_tx, gpu_frame_rx) = mpsc::channel::<(Video, Option<Instant>)>();
|
||||
thread::Builder::new()
|
||||
.name("video_map_gpu_cpu".to_string())
|
||||
.spawn(move || {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue