mirror of
https://github.com/rustdesk/rustdesk
synced 2026-04-21 13:27:19 +00:00
Update capture function return type for PixelProvider (#14747)
This commit is contained in:
parent
2f694c0eb2
commit
771cb4ebd7
1 changed files with 1 additions and 1 deletions
|
|
@ -346,7 +346,7 @@ impl PipeWireRecorder {
|
|||
}
|
||||
|
||||
impl Recorder for PipeWireRecorder {
|
||||
fn capture(&mut self, timeout_ms: u64) -> Result<PixelProvider, Box<dyn Error>> {
|
||||
fn capture(&mut self, timeout_ms: u64) -> Result<PixelProvider<'_>, Box<dyn Error>> {
|
||||
if let Some(sample) = self
|
||||
.appsink
|
||||
.try_pull_sample(gst::ClockTime::from_mseconds(timeout_ms))
|
||||
|
|
|
|||
Loading…
Reference in a new issue