mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-23 01:05:19 +03:00
encode with qsv
This commit is contained in:
@@ -291,6 +291,11 @@ namespace MediaBrowser.Api.Playback
|
||||
{
|
||||
get
|
||||
{
|
||||
if (string.Equals(ApiEntryPoint.Instance.GetEncodingOptions().HardwareVideoDecoder, "qsv", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
return "h264_qsv";
|
||||
}
|
||||
|
||||
return "libx264";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user