mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-16 05:53:03 +03:00
add property to indicate support for on the fly subtitle extraction
This commit is contained in:
@@ -14,6 +14,7 @@ namespace MediaBrowser.Model.Configuration
|
||||
public int H264Crf { get; set; }
|
||||
public string H264Preset { get; set; }
|
||||
public bool EnableHardwareEncoding { get; set; }
|
||||
public bool EnableSubtitleExtraction { get; set; }
|
||||
|
||||
public string[] HardwareDecodingCodecs { get; set; }
|
||||
|
||||
@@ -26,7 +27,7 @@ namespace MediaBrowser.Model.Configuration
|
||||
VaapiDevice = "/dev/dri/card0";
|
||||
H264Crf = 23;
|
||||
EnableHardwareEncoding = true;
|
||||
|
||||
EnableSubtitleExtraction = true;
|
||||
HardwareDecodingCodecs = new string[] { "h264", "vc1" };
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user