linux: various fixes across the crates to make it compile
This commit is contained in:
parent
7c7aad5e76
commit
2e32f5867e
7 changed files with 11 additions and 9 deletions
|
@ -3,7 +3,7 @@ use anyhow::{anyhow, Context, Result};
|
|||
use async_trait::async_trait;
|
||||
use collections::{BTreeMap, HashMap, HashSet};
|
||||
use futures::Stream;
|
||||
use gpui::BackgroundExecutor;
|
||||
use gpui::{BackgroundExecutor, ImageSource};
|
||||
use live_kit_server::{proto, token};
|
||||
#[cfg(target_os = "macos")]
|
||||
use media::core_video::CVImageBuffer;
|
||||
|
@ -846,8 +846,7 @@ impl Frame {
|
|||
self.height
|
||||
}
|
||||
|
||||
#[cfg(target_os = "macos")]
|
||||
pub fn image(&self) -> CVImageBuffer {
|
||||
pub fn image(&self) -> ImageSource {
|
||||
unimplemented!("you can't call this in test mode")
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue