From 627bde4b72c65e960da724eb1438b11af0d10067 Mon Sep 17 00:00:00 2001 From: Samantha Collard Date: Sun, 1 Sep 2019 13:20:18 +1000 Subject: [PATCH] Fix VAAPI 8-bit HW to SW transcoding for some media --- MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs b/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs index 6b83edfff9..5665e72cfe 100644 --- a/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs +++ b/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs @@ -1796,6 +1796,11 @@ namespace MediaBrowser.Controller.MediaEncoding filters.Add("format=p010le"); filters.Add("format=nv12"); } + else + { + filters.Add("format=nv12"); + } + } if (string.Equals(outputVideoCodec, "h264_vaapi", StringComparison.OrdinalIgnoreCase))