From c70dfc713b9c3df1b5f1c5992d98eaa0f5a95f8d Mon Sep 17 00:00:00 2001 From: gerrit507 Date: Sat, 4 Mar 2017 11:51:06 +0100 Subject: [PATCH] Add hevc hw-decoders and encodrs to var required. These hardware decoders should be added for letting emby recognize this hw-decoders and encoders. This in addition to #2506 and on the dev branch as wished. --- MediaBrowser.MediaEncoding/Encoder/EncoderValidator.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/MediaBrowser.MediaEncoding/Encoder/EncoderValidator.cs b/MediaBrowser.MediaEncoding/Encoder/EncoderValidator.cs index b37e783b8..9c1189f6c 100644 --- a/MediaBrowser.MediaEncoding/Encoder/EncoderValidator.cs +++ b/MediaBrowser.MediaEncoding/Encoder/EncoderValidator.cs @@ -90,6 +90,7 @@ namespace MediaBrowser.MediaEncoding.Encoder var required = new[] { "h264_qsv", + "hevc_qsv", "mpeg2_qsv", "vc1_qsv" }; @@ -134,9 +135,13 @@ namespace MediaBrowser.MediaEncoding.Encoder "libvorbis", "srt", "h264_nvenc", + "hevc_nvenc", "h264_qsv", + "hevc_qsv", "h264_omx", + "hevc_omx", "h264_vaapi", + "hevc_vaapi", "ac3" }; @@ -205,4 +210,4 @@ namespace MediaBrowser.MediaEncoding.Encoder } } } -} \ No newline at end of file +}