Skip to content

Commit

Permalink
Add resizing support with libzimg
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickenfuego committed Sep 20, 2021
1 parent 7245b8d commit b552d0e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion modules/FFTools/Private/Set-VideoFilter.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
<#
.SYNOPSIS
Private function for setting video filters
.DESCRIPTION
Sets video filters passed via the script. If manual filters
are passed via -FFMpegExtra parameter, they are joined with
other script parameters here
#>

function Set-VideoFilter {
Expand All @@ -21,7 +25,7 @@ function Set-VideoFilter {

[array]$vfArray = $null

#if manual crop dimensions are passed, pull them out
#if manual crop dimensions are passed, parse them out
if ($CropDimensions -contains -1) {
[string]$cropStr = $FFMpegExtra.Where({ $_['-vf'] -match "crop" }) |
Select-Object -ExpandProperty '-vf'
Expand Down

0 comments on commit b552d0e

Please sign in to comment.