]> git.sesse.net Git - kdenlive/commitdiff
Set unique log file for x264 encoding:
authorJean-Baptiste Mardelle <jb@kdenlive.org>
Thu, 6 Oct 2011 23:22:10 +0000 (23:22 +0000)
committerJean-Baptiste Mardelle <jb@kdenlive.org>
Thu, 6 Oct 2011 23:22:10 +0000 (23:22 +0000)
http://kdenlive.org/mantis/view.php?id=2338

svn path=/trunk/kdenlive/; revision=5946

renderer/kdenlive_render.cpp

index bc495ca3f73217e706efc0d9f91be023529e7893..3ff03fab54a29d909ee7a9b6bb45e050f3875986 100644 (file)
@@ -90,6 +90,7 @@ int main(int argc, char **argv)
             dualpass = true;
             doerase = false;
             args.replace(args.indexOf("pass=2"), "pass=1");
+            if (args.contains("vcodec=libx264")) args << QString("passlogfile=%1").arg(dest + ".log");
         } else {
             args.removeAll("pass=1");
             doerase = erase;