Merge pull request #604 from imerr/patch-1

Strict comparison for -vf check
This commit is contained in:
Jens Hausdorf 2018-10-31 19:21:38 +01:00 committed by GitHub
commit 6dacd82c9b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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];