Remove redundant frame conversion for vaapi

Signed-off-by: gnattu <gnattuoc@me.com>
This commit is contained in:
gnattu 2024-09-03 15:23:48 +08:00
parent ae82a4eee0
commit dbf91be3a6

View File

@ -3491,13 +3491,6 @@ namespace MediaBrowser.Controller.MediaEncoding
}
mainFilters.Add(tonemapArgs);
// convert back to nv12 for VAAPI encoders
// Q: Is this still being used?
if (requireDoviReshaping && isVaapiEncoder)
{
mainFilters.Add("format=" + outFormat);
}
}
else
{