mirror of
https://github.com/iperov/DeepFaceLive
synced 2025-07-31 04:00:12 -07:00
fix BackendConnection
This commit is contained in:
parent
f14078fee5
commit
a9f4438c9d
1 changed files with 2 additions and 2 deletions
|
@ -132,8 +132,8 @@ class BackendConnection:
|
|||
def is_full_read(self, buffer_size=0) -> bool:
|
||||
"""
|
||||
if fully readed by receiver side minus buffer_size
|
||||
"""
|
||||
return self._rd.get_read_id() == self._rd.get_write_id()
|
||||
"""
|
||||
return self._rd.get_read_id() >= (self._rd.get_write_id() - buffer_size)
|
||||
|
||||
|
||||
class BackendSignal:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue