[pitivi] clipmediaprops: Fix the "Apply to project" feature
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] clipmediaprops: Fix the "Apply to project" feature
- Date: Mon, 14 Jan 2013 12:38:44 +0000 (UTC)
commit 15a076e2e195dd9c9e076e5da67aaf042923bfce
Author: Thibault Saunier <thibault saunier collabora com>
Date: Fri Jan 11 10:27:22 2013 -0300
clipmediaprops: Fix the "Apply to project" feature
pitivi/dialogs/clipmediaprops.py | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/pitivi/dialogs/clipmediaprops.py b/pitivi/dialogs/clipmediaprops.py
index 6f0b10e..826bf41 100644
--- a/pitivi/dialogs/clipmediaprops.py
+++ b/pitivi/dialogs/clipmediaprops.py
@@ -114,22 +114,22 @@ class clipmediapropsDialog():
# This also handles the case where the video is a still image
video = self.video_streams[0]
if self.checkbutton1.get_active():
- project.width = video.get_width()
- project.height = video.get_height()
+ project.videowidth = video.get_width()
+ project.videoheight = video.get_height()
if (self.checkbutton2.get_active() and not self.is_image):
- project.framerate = Gst.Fraction(video.get_framerate_num(),
- video.get_framerate_denom())
+ project.videorate = Gst.Fraction(video.get_framerate_num(),
+ video.get_framerate_denom())
if (self.checkbutton3.get_active() and not self.is_image):
- project.par = Gst.Fraction(video.get_par_num(),
- video.get_par_denom())
+ project.videopar = Gst.Fraction(video.get_par_num(),
+ video.get_par_denom())
if self.has_audio:
audio = self.audio_streams[0]
if self.checkbutton4.get_active():
- project.channels = audio.get_channels()
+ project.audiochannels = audio.get_channels()
if self.checkbutton5.get_active():
- project.rate = audio.get_sample_rate()
+ project.audiorate = audio.get_sample_rate()
if self.checkbutton6.get_active():
- project.depth = audio.get_depth()
+ project.audiodepth = audio.get_depth()
self.dialog.destroy()
def _cancelButtonCb(self, unused_button):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]