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:
1 parent
edf9f6b874
commit
a687bb5348
2 files changed
+91
-22
No files matched your search
+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