mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-06-04 22:24:35 -04:00
fix: no need to check filters prematurely
Signed-off-by: gnattu <gnattuoc@me.com>
This commit is contained in:
parent
2f66871040
commit
d10ad6c383
@ -5039,12 +5039,6 @@ namespace MediaBrowser.Controller.MediaEncoding
|
|||||||
/* Make main filters for video stream */
|
/* Make main filters for video stream */
|
||||||
var mainFilters = new List<string>();
|
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
|
// Color override is only required for OpenCL where hardware surface is in use
|
||||||
if (doOclTonemap)
|
if (doOclTonemap)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user