diff options
author | erikb <erikb@574bc980-5f2d-0410-acbc-c8f9f0eb14e0> | 2008-01-16 01:55:59 (GMT) |
---|---|---|
committer | erikb <erikb@574bc980-5f2d-0410-acbc-c8f9f0eb14e0> | 2008-01-16 01:55:59 (GMT) |
commit | 07cc247a3c7b571c0890bfecfcf35eeaa1069aec (patch) | |
tree | 295ea5bf75717a9967354d26e0af24e2aa197785 /record.py | |
parent | 63e20c841f539275e97d4bebc86066bb93843576 (diff) |
51
git-svn-id: http://mediamods.com/public-svn/camera-activity/tags/51@1013 574bc980-5f2d-0410-acbc-c8f9f0eb14e0
Diffstat (limited to 'record.py')
-rwxr-xr-x | record.py | 18 |
1 files changed, 15 insertions, 3 deletions
@@ -1,4 +1,4 @@ -#Copyright (c) 2007, Media Modifications Ltd. +#Copyright (c) 2008, Media Modifications Ltd. #Permission is hereby granted, free of charge, to any person obtaining a copy #of this software and associated documentation files (the "Software"), to deal @@ -122,13 +122,25 @@ class Record(activity.Activity): self.destroy() +# def stopPipes(self): +# self.gplay.stop() +# self.ui.doMouseListener( False ) + +# #todo: only abandon iff countingdown +# if (self.ui.COUNTINGDOWN or self.m.RECORDING or self.ui.TRANSCODING): +# self.m.setUpdating( False ) +# self.m.abandonRecording() +# else: +# self.glive.stop() + + def stopPipes(self): self.gplay.stop() self.ui.doMouseListener( False ) - if (self.ui.COUNTINGDOWN or self.m.RECORDING or self.ui.TRANSCODING): + if (self.m.RECORDING): self.m.setUpdating( False ) - self.m.abandonRecording() + self.m.doShutter() else: self.glive.stop() |