reduced cpu load from 104% with ffmpeg x11grab, ffserver and konsole to 32% with my implementation - yeah
This commit is contained in:
parent
7ac50d1e79
commit
28e0cc3bc1
|
@ -254,7 +254,7 @@ class MyHandler(BaseHTTPRequestHandler):
|
||||||
JpegData = None
|
JpegData = None
|
||||||
buffer = None
|
buffer = None
|
||||||
img = None
|
img = None
|
||||||
time.sleep(0.03)
|
time.sleep(0.05)
|
||||||
|
|
||||||
elif self.path.endswith(".jpeg"):
|
elif self.path.endswith(".jpeg"):
|
||||||
directory = os.path.dirname(os.path.abspath(__file__))
|
directory = os.path.dirname(os.path.abspath(__file__))
|
||||||
|
|
Loading…
Reference in New Issue