Add mixed-orientation layout for -Clip mode with landscape video at native size and portrait video scaled to match height
This commit is contained in:
+4
-1
@@ -161,7 +161,10 @@ try {
|
||||
$valueDisplay = ('{0} frames ({1}s, {2} fps)' -f $frames, $durationSeconds, $fps)
|
||||
}
|
||||
elseif ($fieldValue -is [array]) {
|
||||
$valueDisplay = ($fieldValue | ConvertTo-Json -Compress -Depth 10)
|
||||
# Pretty-print array values as JSON, prefixed with a newline so the
|
||||
# multi-line output starts cleanly under the field label.
|
||||
$jsonArray = $fieldValue | ConvertTo-Json -Depth 10
|
||||
$valueDisplay = [Environment]::NewLine + $jsonArray
|
||||
}
|
||||
else {
|
||||
$valueDisplay = $fieldValue
|
||||
|
||||
Reference in New Issue
Block a user