fix: video service (#8812)

1. Unset refresh flag if just refreshed.
2. Reduce the scope of the lock.

Signed-off-by: dignow <linlong1265@gmail.com>
This commit is contained in:
dignow
2024-07-24 18:41:52 +08:00
committed by GitHub
parent 39dbd89287
commit d73e0e1e5a
2 changed files with 10 additions and 4 deletions

View File

@@ -1063,7 +1063,7 @@ impl FlutterHandler {
}
// We need `is_sent` here. Because we use texture render for multi-displays session.
//
// Eg. We have to windows, one is display 1, the other is displays 0&1.
// Eg. We have two windows, one is display 1, the other is displays 0&1.
// When image of display 0 is received, we will not send the event.
//
// 1. "display 1" will not send the event.