diff options
author | jaseg <jaseg@jaseg.net> | 2014-01-13 20:57:59 +0100 |
---|---|---|
committer | jaseg <jaseg@jaseg.net> | 2014-01-13 20:57:59 +0100 |
commit | af5f0f28b155de04e331b880617c68d1c01748e6 (patch) | |
tree | 8cb4983ff97f0c73e116904c030860029939f768 /pixelterm | |
parent | 37da26d1a1cfab4412647c2ffbc3ccedb2c024b9 (diff) | |
download | pixelterm-af5f0f28b155de04e331b880617c68d1c01748e6.tar.gz pixelterm-af5f0f28b155de04e331b880617c68d1c01748e6.tar.bz2 pixelterm-af5f0f28b155de04e331b880617c68d1c01748e6.zip |
Adjusted the maximum frame rate
Diffstat (limited to 'pixelterm')
-rwxr-xr-x | pixelterm/gifterm.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pixelterm/gifterm.py b/pixelterm/gifterm.py index 61098cd..03cbabd 100755 --- a/pixelterm/gifterm.py +++ b/pixelterm/gifterm.py @@ -62,7 +62,7 @@ def main(): for frame in frames: self.request.sendall(bytes(clear_screen + pixelterm.reset_sequence, "UTF-8")) self.request.sendall(bytes(frame, "UTF-8")) - time.sleep(min(1/20, img.info['duration']/1000.0)) + time.sleep(min(1/10, img.info['duration']/1000.0)) except: pass @@ -78,7 +78,7 @@ def main(): for frame in frames: print(clear_screen, pixelterm.reset_sequence) print(frame) - time.sleep(min(1/20, img.info['duration']/1000.0)) + time.sleep(min(1/10, img.info['duration']/1000.0)) except KeyboardInterrupt: pass |