mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-08-27 04:16:47 +00:00
Merge pull request #16380 from LTe/fix-subtitle-extraction-setting
Respect EnableSubtitleExtraction setting in subtitle delivery
This commit is contained in:
commit
046023b9dd
3 changed files with 57 additions and 3 deletions
|
|
@ -1331,8 +1331,7 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
|||
|
||||
public bool CanExtractSubtitles(string codec)
|
||||
{
|
||||
// TODO is there ever a case when a subtitle can't be extracted??
|
||||
return true;
|
||||
return _configurationManager.GetEncodingOptions().EnableSubtitleExtraction;
|
||||
}
|
||||
|
||||
private sealed class ProcessWrapper : IDisposable
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue