Browse Source

fix: no need to check filters prematurely

Signed-off-by: gnattu <gnattuoc@me.com>
gnattu 1 year ago
parent
commit
d10ad6c383
1 changed files with 0 additions and 6 deletions
  1. 0 6
      MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs

+ 0 - 6
MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs

@@ -5039,12 +5039,6 @@ namespace MediaBrowser.Controller.MediaEncoding
             /* Make main filters for video stream */
             var mainFilters = new List<string>();
 
-            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)
             {