Skip to content

Commit

Permalink
一部のフィルタが動かなくなっていたのを修正
Browse files Browse the repository at this point in the history
  • Loading branch information
nekopanda committed Apr 14, 2019
1 parent 0334cd0 commit 72535ad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion AmatsukazeServer/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@
// 以下のように '*' を使用します:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.0.0.0")]
[assembly: AssemblyFileVersion("0.9.0.3")]
[assembly: AssemblyFileVersion("0.9.0.4")]
5 changes: 3 additions & 2 deletions AmatsukazeServer/Server/Misc.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1275,7 +1275,7 @@ public static string FilterToString(FilterSetting filter, Setting setting)
preset = ", preset=\"" + preset + "\"";
}
sb.AppendLine("dsrc.KFMDeint(mode=1" + preset + ", ucf=false, nr=false" +
", cuda=" + (filter.EnableCUDA ? "true" : "false") + ", is120=" + filter.KfmVfr120fps + ")");
", cuda=" + (filter.EnableCUDA ? "true" : "false") + ")");
}
else if (filter.DeinterlaceAlgorithm == DeinterlaceAlgorithm.KFM)
{
Expand All @@ -1299,6 +1299,7 @@ public static string FilterToString(FilterSetting filter, Setting setting)
", svp=" + ((filter.KfmFps == FilterFPS.SVP) ? "true" : "false") +
", thswitch=" + ((filter.KfmFps == FilterFPS.VFR30) ? "-1" : "3") +
", cuda=" + (filter.EnableCUDA ? "true" : "false") +
", is120=" + filter.KfmVfr120fps +
", dev=AMT_DEV, filepath=AMT_TMP)");
}
else if(filter.DeinterlaceAlgorithm == DeinterlaceAlgorithm.Yadif)
Expand Down Expand Up @@ -1348,7 +1349,7 @@ public static string FilterToString(FilterSetting filter, Setting setting)
if (parallel <= 1)
{
sb.AppendLine("if(AMT_PASS == 0) { AMT_SOURCE." + fname + "(logp" + crop + ") }");
sb.AppendLine("if(AMT_PASS == 1) { AMT_SOURCE.AMTExec(" + autovfrarg + ").Trim(0,-1) }");
sb.AppendLine("if(AMT_PASS == 1) { AMT_SOURCE.AMTExec(\"" + autovfrarg + "\").Trim(0,-1) }");
}
else
{
Expand Down

0 comments on commit 72535ad

Please sign in to comment.