From d10ad6c383954e6acb76581d5459aa9740c66688 Mon Sep 17 00:00:00 2001 From: gnattu Date: Sat, 9 Mar 2024 11:02:53 +0800 Subject: [PATCH] fix: no need to check filters prematurely Signed-off-by: gnattu --- MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs b/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs index 65224115b0..37aa295dce 100644 --- a/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs +++ b/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs @@ -5039,12 +5039,6 @@ namespace MediaBrowser.Controller.MediaEncoding /* Make main filters for video stream */ var mainFilters = new List(); - if (!(doTonemap || doScale || hasSubs || doDeintH2645)) - { - // Dummy action to return empty filters when nothing to do. - return (mainFilters, mainFilters, mainFilters); - } - // Color override is only required for OpenCL where hardware surface is in use if (doOclTonemap) {