Strict comparison for -vf check
This fixes an edge case where 0 and "-vf" is equal
This commit is contained in:
parent
6595f20df7
commit
554158bc06
1 changed files with 1 additions and 1 deletions
|
|
@ -206,7 +206,7 @@ abstract class AbstractVideo extends Audio
|
|||
$videoFilterVars = $videoFilterProcesses = array();
|
||||
for ($i = 0; $i < count($commands); $i++) {
|
||||
$command = $commands[$i];
|
||||
if ($command == '-vf') {
|
||||
if ($command === '-vf') {
|
||||
$commandSplits = explode(";", $commands[$i + 1]);
|
||||
if (count($commandSplits) == 1) {
|
||||
$commandSplit = $commandSplits[0];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue