]> git.sesse.net Git - kdenlive/commitdiff
Add default transcode profile
authorJean-Baptiste Mardelle <jb@kdenlive.org>
Tue, 19 May 2009 12:30:19 +0000 (12:30 +0000)
committerJean-Baptiste Mardelle <jb@kdenlive.org>
Tue, 19 May 2009 12:30:19 +0000 (12:30 +0000)
svn path=/trunk/kdenlive/; revision=3398

src/kdenlivesettingsdialog.cpp

index 15b1420921195a5b0a8cce311fa0a01594d0db2f..237023d7e328175ba9a8bc5e5b7982c5f53d8fe6 100644 (file)
@@ -480,6 +480,10 @@ void KdenliveSettingsDialog::loadTranscodeProfiles()
     // read the entries
 
     QMap< QString, QString > profiles = transConfig.entryMap();
+    if (profiles.isEmpty()) {
+       // TODO: find a better way to store defaule transcode profiles
+       profiles.insert("DNxHD 1920x1080", "-s 1920x1080 -r pal -b 220000k -threads 2 -vcodec dnxhd -acodec copy %1.mov");
+    }
     QMapIterator<QString, QString> i(profiles);
     while (i.hasNext()) {
         i.next();