[pitivi/1.0] project: Remove audio_profile noop



commit 1eecd52ba998f8e2c6b872e4fa88b91f0642aebf
Author: Alexandru Băluț <alexandru balut gmail com>
Date:   Sat Jan 6 00:20:32 2018 +0100

    project: Remove audio_profile noop
    
    Differential Revision: https://phabricator.freedesktop.org/D1933

 pitivi/project.py |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/pitivi/project.py b/pitivi/project.py
index 2f29f9c..8c8dce0 100644
--- a/pitivi/project.py
+++ b/pitivi/project.py
@@ -828,9 +828,6 @@ class Project(Loggable, GES.Project):
 
             video_restrictions.set_value("width", width)
             video_restrictions.set_value("height", height)
-        else:
-            restriction = self.audio_profile.get_restriction().copy_nth(0)
-            self.audio_profile.set_restriction(restriction)
 
         self._has_rendering_values = rendering
         self.video_profile.set_restriction(video_restrictions)


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