Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/record.py
diff options
context:
space:
mode:
authorDaniel Drake <dsd@laptop.org>2008-11-23 22:41:30 (GMT)
committer Daniel Drake <dsd@airbag.localdomain>2008-11-23 23:01:30 (GMT)
commit2ef24e9c7d6bfb4734ba9601130b429151be0f15 (patch)
treec1e21177c8688160d53e634c588efe3c46e144b9 /record.py
parent0d4a9f6f8fd1fb7d487b4afed77aa7a834476d4b (diff)
Pipeline rework
Record-59 is broken in joyride because we moved to a gstreamer, which doesn't like these broken pipelines. This commit reworks the whole pipeline system, making it easier to read and generally better structured. This is the work I did this summer, which didn't quite work for 8.2. Now that we have upgraded to the newer gstreamer in F10, the bugs have disappeared. There are a couple of quirks with video recording but it works well.
Diffstat (limited to 'record.py')
-rwxr-xr-xrecord.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/record.py b/record.py
index 273b612..74df6e2 100755
--- a/record.py
+++ b/record.py
@@ -37,6 +37,7 @@ from model import Model
from ui import UI
from recordtube import RecordTube
from glive import Glive
+from glivex import GliveX
from gplay import Gplay
from greplay import Greplay
from recorded import Recorded
@@ -74,6 +75,7 @@ class Record(activity.Activity):
#the main classes
self.m = Model(self)
self.glive = Glive(self)
+ self.glivex = GliveX(self)
self.gplay = Gplay()
self.ui = UI(self)
@@ -131,6 +133,7 @@ class Record(activity.Activity):
self.m.doShutter()
else:
self.glive.stop()
+ self.glivex.stop()
def restartPipes(self):
@@ -150,8 +153,9 @@ class Record(activity.Activity):
if (self.gplay != None):
self.gplay.stop( )
if (self.glive != None):
- self.glive.setPipeType( self.glive.PIPETYPE_SUGAR_JHBUILD )
self.glive.stop( )
+ if (self.glivex != None):
+ self.glivex.stop( )
#this calls write_file
activity.Activity.close( self )