mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-02-25 14:03:28 +00:00
fix: no need to check filters prematurely
Signed-off-by: gnattu <gnattuoc@me.com>
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user