[vlmc-devel] ProjectWizard: Save value of aspect ratio to project preference

Rohit Yadav git at videolan.org
Tue Aug 2 03:17:05 CEST 2011


vlmc | branch: master | Rohit Yadav <rohityadav89 at gmail.com> | Tue Aug  2 07:02:45 2011 +0530| [846968879e6b252c6a3368ecd7f50ff81f85c54f] | committer: Rohit Yadav

ProjectWizard: Save value of aspect ratio to project preference

> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=846968879e6b252c6a3368ecd7f50ff81f85c54f
---

 src/Gui/wizard/ProjectWizard.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/Gui/wizard/ProjectWizard.cpp b/src/Gui/wizard/ProjectWizard.cpp
index 98cc3b8..ebfa095 100644
--- a/src/Gui/wizard/ProjectWizard.cpp
+++ b/src/Gui/wizard/ProjectWizard.cpp
@@ -106,6 +106,7 @@ ProjectWizard::accept()
         sManager->setValue( "video/VLMCOutputFPS", field( "fps" ), SettingsManager::Project );
         sManager->setValue( "video/VideoProjectHeight", field( "height" ), SettingsManager::Project );
         sManager->setValue( "video/VideoProjectWidth", field( "width" ), SettingsManager::Project );
+        sManager->setValue( "video/AspectRatio", field( "aspectratio" ), SettingsManager::Project );
         sManager->setValue( "audio/AudioSampleRate", field( "samplerate" ), SettingsManager::Project );
         sManager->setValue( "audio/NbChannels", field( "samplerate" ), SettingsManager::Project );
     }



More information about the Vlmc-devel mailing list