summaryrefslogtreecommitdiff
path: root/cli
diff options
context:
space:
mode:
Diffstat (limited to 'cli')
-rw-r--r--cli/app/search/live.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/cli/app/search/live.py b/cli/app/search/live.py
index 7dbe98f..c56b611 100644
--- a/cli/app/search/live.py
+++ b/cli/app/search/live.py
@@ -576,14 +576,14 @@ class Listener:
save_time = time.time()
# out_img.save(os.path.join(path_out, "frame_{:05d}.png".format(i)), format='png', compression_level=3)
out_img.save(pipe.stdin, format='png', compression_level=3)
- printed = False
- while True:
- line = pipe.stdout.readline()
- if not line:
- break
- elif not printed:
- printed = True
- print("Waiting for FFMPEG to catch up...")
+ # printed = False
+ # while True:
+ # line = pipe.stdout.read()
+ # if not line:
+ # break
+ # elif not printed:
+ # printed = True
+ # print("Waiting for FFMPEG to catch up...")
save_time_total += time.time() - save_time
img_to_send = out_img.resize((256, 256), Image.BICUBIC)