diff options
author | Ariel Calzada <ariel@activitycentral.com> | 2012-10-01 13:26:28 (GMT) |
---|---|---|
committer | Ariel Calzada <ariel@activitycentral.com> | 2012-10-01 13:26:28 (GMT) |
commit | f1c1b6a59e971b31d26179f2cb3482dc6e908691 (patch) | |
tree | 342609d67bd6de1609caab0fb8cff35028d3efe5 /screencast_process.py | |
parent | 3f5f9fcc0d201b51a9562e0f253519bafb85d8d1 (diff) |
Added delay time, fixed open multiple activities at once
Diffstat (limited to 'screencast_process.py')
-rw-r--r-- | screencast_process.py | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/screencast_process.py b/screencast_process.py index 6408ec9..20d090b 100644 --- a/screencast_process.py +++ b/screencast_process.py @@ -21,7 +21,6 @@ import subprocess import os import gobject -import os import signal import popen2 import fcntl @@ -85,16 +84,20 @@ class ScreencastProcess(gobject.GObject): # Overwrite self._args.append("--overwrite") - # Encode on the fly - #self._args.append("--on-the-fly-encoding") - # Quality + # Low if str(q) == "2": self._args.append("-v_quality") self._args.append("0") + # Medium elif str(q) == "1": self._args.append("-v_quality") - self._args.append("31") + self._args.append("10") + # High + elif str(q) == "0": + self._args.append("-v_quality") + #self._args.append("31") + self._args.append("20") # Sound if not s: @@ -110,7 +113,6 @@ class ScreencastProcess(gobject.GObject): # Check process every second self._childtimer = gobject.timeout_add (1000, self.checkProcessStatus) - def checkProcessStatus(self): """ Check the current status of the process """ |