[pitivi] Create video tracks before creating audio tracks



commit 1a0bcbb254c85db74c928fe58dcf9727cf0544d1
Author: Matas Brazdeikis <matas brazdeikis lt>
Date:   Tue Aug 14 11:25:23 2012 +0100

    Create video tracks before creating audio tracks
    
    Otherwise, clips on the canvas will be incorrectly aligned to layers

 pitivi/project.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/project.py b/pitivi/project.py
index 3b3cff2..cfbf3c6 100644
--- a/pitivi/project.py
+++ b/pitivi/project.py
@@ -59,8 +59,8 @@ from pitivi.preset import AudioPresetManager, DuplicatePresetNameException,\
 class Timeline(ges.Timeline):
     def __init__(self):
         ges.Timeline.__init__(self)
-        self.add_track(ges.Track.audio_raw_new())
         self.add_track(ges.Track.video_raw_new())
+        self.add_track(ges.Track.audio_raw_new())
         self.selection = Selection()
 
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]