[pitivi/1.0] project: Remove audio_profile noop
- From: Alexandru Băluț <alexbalut src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [pitivi/1.0] project: Remove audio_profile noop
 
- Date: Thu,  8 Feb 2018 05:54:21 +0000 (UTC)
 
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]