[pitivi] render: Always add our newly set profiles to the project



commit df187df3cd95ee169504cd8fc9f572de8222c84b
Author: Thibault Saunier <tsaunier gnome org>
Date:   Wed Jul 26 11:46:53 2017 -0400

    render: Always add our newly set profiles to the project
    
    So it gets serialized and the user doesn't lose his settings.
    
    Reviewed-by: Alex Băluț <<alexandru balut gmail com>>
    Differential Revision: https://phabricator.freedesktop.org/D1808

 pitivi/render.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/render.py b/pitivi/render.py
index 72af178..f00a1bc 100644
--- a/pitivi/render.py
+++ b/pitivi/render.py
@@ -506,6 +506,7 @@ class RenderDialog(Loggable):
                 return
 
         self.updateResolution()
+        self.project.add_encoding_profile(self.project.container_profile)
         self._setting_encoding_profile = False
 
     def _updatePresetMenuButton(self, unused_source, unused_target):


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