Skip to content

Commit

Permalink
Fix dual pass encoding with x265.
Browse files Browse the repository at this point in the history
  • Loading branch information
ddennedy committed Feb 18, 2016
1 parent a292a3b commit aaa3ec7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/docks/encodedock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,7 @@ MeltJob* EncodeDock::createMeltJob(Mlt::Service* service, const QString& target,
if (pass == 1 || pass == 2) {
QString x265params = consumerNode.attribute("x265-params");
x265params = QString("pass=%1:stats=%2:%3")
.arg(pass).arg(mytarget + "_2pass.log").arg(x265params);
.arg(pass).arg(mytarget.replace(":", "\\:") + "_2pass.log").arg(x265params);
consumerNode.setAttribute("x265-params", x265params);
}
} else {
Expand Down

0 comments on commit aaa3ec7

Please sign in to comment.