screencopy: Use info! logging for FailureReason::Stopped
This is an expected case, not an error.
This commit is contained in:
parent
c5f777dc15
commit
cf2bb0205c
1 changed files with 5 additions and 1 deletions
|
|
@ -243,7 +243,11 @@ impl ScreencopyHandler for AppData {
|
||||||
session.attach_buffer_and_commit(&capture, conn, &self.qh);
|
session.attach_buffer_and_commit(&capture, conn, &self.qh);
|
||||||
} else {
|
} else {
|
||||||
// TODO
|
// TODO
|
||||||
log::error!("Screencopy failed: {:?}", reason);
|
if reason == WEnum::Value(FailureReason::Stopped) {
|
||||||
|
log::info!("Screencopy frame capture stopped");
|
||||||
|
} else {
|
||||||
|
log::error!("Screencopy failed: {:?}", reason);
|
||||||
|
}
|
||||||
capture.stop();
|
capture.stop();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue