fix: no need to check filters prematurely

Signed-off-by: gnattu <gnattuoc@me.com>
This commit is contained in:
gnattu 2024-03-09 11:02:53 +08:00
parent 2f66871040
commit d10ad6c383

View file

@ -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)
{