mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Update src/scripts/browserDeviceProfile.js
Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
This commit is contained in:
parent
56266b37c7
commit
c7e6b77d13
1 changed files with 2 additions and 2 deletions
|
@ -945,14 +945,14 @@ import browser from './browser';
|
|||
// External vtt or burn in
|
||||
profile.SubtitleProfiles = [];
|
||||
const subtitleBurninSetting = appSettings.get('subtitleburnin');
|
||||
if (!options.isRetry && subtitleBurninSetting !== 'all') {
|
||||
if (subtitleBurninSetting !== 'all') {
|
||||
if (supportsTextTracks()) {
|
||||
profile.SubtitleProfiles.push({
|
||||
Format: 'vtt',
|
||||
Method: 'External'
|
||||
});
|
||||
}
|
||||
if (options.enableSsaRender !== false && subtitleBurninSetting !== 'allcomplexformats') {
|
||||
if (options.enableSsaRender !== false && !options.isRetry && subtitleBurninSetting !== 'allcomplexformats') {
|
||||
profile.SubtitleProfiles.push({
|
||||
Format: 'ass',
|
||||
Method: 'External'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue