Skip to content

Commit

Permalink
Fix psyrd bug
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickenfuego committed Jul 15, 2022
1 parent b93005f commit aac3478
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions modules/FFTools/Private/Set-DVArgs.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ function Set-DVArgs {
'--min-keyint'
24
'--psy-rd'
$PsyRd
$PSBoundParameters['PsyRd'] ? $PsyRd : '2.00'
'--tu-intra-depth'
"$($TuDepth[0])"
'--tu-inter-depth'
Expand Down Expand Up @@ -432,7 +432,6 @@ function Set-DVArgs {
if ($x265ExtraArray) { $x265BaseArray.AddRange($x265ExtraArray) }

switch ($x265ExtraArray) {
{ $_ -notcontains '--sao' } { $x265BaseArray.Add('--no-sao') > $null }
{ $_ -notcontains '--open-gop' } { $x265BaseArray.Add('--no-open-gop') > $null }
{ $_ -notcontains '--keyint' } { $x265BaseArray.AddRange(@('--keyint', 192)) }
{ $_ -notcontains '--min-keyint' } { $x265BaseArray.AddRange(@('--min-keyint', 24)) }
Expand Down

0 comments on commit aac3478

Please sign in to comment.