pitivi r1361 - trunk/pitivi
- From: edwardrv svn gnome org
- To: svn-commits-list gnome org
- Subject: pitivi r1361 - trunk/pitivi
- Date: Mon, 10 Nov 2008 12:33:02 +0000 (UTC)
Author: edwardrv
Date: Mon Nov 10 12:33:01 2008
New Revision: 1361
URL: http://svn.gnome.org/viewvc/pitivi?rev=1361&view=rev
Log:
Fix PiTiVi to not use python-2.6 restricted keywords.
Signed-off-by: Edward Hervey <bilboed bilboed com>
Modified:
trunk/pitivi/objectfactory.py
Modified: trunk/pitivi/objectfactory.py
==============================================================================
--- trunk/pitivi/objectfactory.py (original)
+++ trunk/pitivi/objectfactory.py Mon Nov 10 12:33:01 2008
@@ -462,18 +462,18 @@
self.settings = ExportSettings()
if self.video_info_stream:
# Fill video properties
- vs = self.video_info_stream
- self.settings.videowidth = vs.width
- self.settings.videoheight = vs.height
- self.settings.videorate = vs.framerate
- self.settings.videopar = vs.par
+ videostream = self.video_info_stream
+ self.settings.videowidth = videostream.width
+ self.settings.videoheight = videostream.height
+ self.settings.videorate = videostream.framerate
+ self.settings.videopar = videostream.par
if self.audio_info_stream:
# Fill audio properties
- as = self.audio_info_stream
- self.settings.audiochannels = as.channels
- self.settings.audiorate = as.rate
- self.settings.audiodepth = as.depth
+ audiostream = self.audio_info_stream
+ self.settings.audiochannels = audiostream.channels
+ self.settings.audiorate = audiostream.rate
+ self.settings.audiodepth = audiostream.depth
return self.settings
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]