fix build

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou
2023-04-28 12:03:44 +08:00
parent 6b1645f44d
commit e3b66af8af
4 changed files with 9 additions and 9 deletions

View File

@@ -1753,7 +1753,7 @@ pub fn start_video_audio_threads<F>(
Arc<AtomicUsize>,
)
where
F: 'static + FnMut(&scrap::ImageRgb) + Send,
F: 'static + FnMut(&mut scrap::ImageRgb) + Send,
{
let (video_sender, video_receiver) = mpsc::channel::<MediaData>();
let video_queue = Arc::new(ArrayQueue::<VideoFrame>::new(VIDEO_QUEUE_SIZE));