mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-08-04 07:10:45 +00:00
add property to indicate support for on the fly subtitle extraction
This commit is contained in:
parent
d39a704b42
commit
82ab91f209
7 changed files with 38 additions and 25 deletions
|
|
@ -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" };
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue