From dbf91be3a64394c902308e80c19ef0e988ec62c5 Mon Sep 17 00:00:00 2001 From: gnattu Date: Tue, 3 Sep 2024 15:23:48 +0800 Subject: [PATCH] Remove redundant frame conversion for vaapi Signed-off-by: gnattu --- MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs b/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs index 96db4a0c9c..399d432684 100644 --- a/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs +++ b/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs @@ -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 {