From af5f0f28b155de04e331b880617c68d1c01748e6 Mon Sep 17 00:00:00 2001 From: jaseg Date: Mon, 13 Jan 2014 20:57:59 +0100 Subject: Adjusted the maximum frame rate --- pixelterm/gifterm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pixelterm') 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 -- cgit