mirror of
https://github.com/hzwer/ECCV2022-RIFE.git
synced 2025-12-16 08:27:45 +01:00
Fix video writing thread termination issue
This commit is contained in:
@@ -277,6 +277,9 @@ if args.montage:
|
||||
write_buffer.put(np.concatenate((lastframe, lastframe), 1))
|
||||
else:
|
||||
write_buffer.put(lastframe)
|
||||
|
||||
write_buffer.put(frame)
|
||||
|
||||
import time
|
||||
while(not write_buffer.empty()):
|
||||
time.sleep(0.1)
|
||||
|
||||
Reference in New Issue
Block a user