mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-11-19 12:32:52 +00:00
support qsv encoding
This commit is contained in:
1 parent
b73c3f4411
commit
4415506837
10 files changed
+37
-83
No files matched your search
@@ -359,7 +359,7 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
||||
/// <returns>System.String.</returns>
|
||||
protected string GetVideoDecoder(EncodingJob state)
|
||||
{
|
||||
if (string.Equals(GetEncodingOptions().HardwareVideoDecoder, "qsv", StringComparison.OrdinalIgnoreCase))
|
||||
if (string.Equals(GetEncodingOptions().HardwareAccelerationType, "qsv", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
if (state.VideoStream != null && !string.IsNullOrWhiteSpace(state.VideoStream.Codec))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user