From ed5a8af7ba16b5fec9d189c606a42ca70e59f777 Mon Sep 17 00:00:00 2001 From: Brock H Caldwell Date: Sun, 8 Feb 2026 14:08:11 -0600 Subject: [PATCH] fix(DownloadOptionEvaluator): undoes last change --- src/Download/DownloadOptionEvaluator.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Download/DownloadOptionEvaluator.php b/src/Download/DownloadOptionEvaluator.php index 37af41b..b30a87f 100644 --- a/src/Download/DownloadOptionEvaluator.php +++ b/src/Download/DownloadOptionEvaluator.php @@ -52,15 +52,15 @@ class DownloadOptionEvaluator $valid = false; } - if (null !== $filter->codec && !in_array($result->codec, $filter->codec)) { + if (null !== $filter->codec && in_array($result->codec, $filter->codec)) { $valid = false; } - if (null !== $filter->quality && !in_array($result->quality, $filter->quality)) { + if (null !== $filter->quality && in_array($result->quality, $filter->quality)) { $valid = false; } - if (null !== $filter->provider && !in_array($result->provider, $filter->provider)) { + if (null !== $filter->provider && in_array($result->provider, $filter->provider)) { $valid = false; }