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
|
// External vtt or burn in
|
||||||
profile.SubtitleProfiles = [];
|
profile.SubtitleProfiles = [];
|
||||||
const subtitleBurninSetting = appSettings.get('subtitleburnin');
|
const subtitleBurninSetting = appSettings.get('subtitleburnin');
|
||||||
if (!options.isRetry && subtitleBurninSetting !== 'all') {
|
if (subtitleBurninSetting !== 'all') {
|
||||||
if (supportsTextTracks()) {
|
if (supportsTextTracks()) {
|
||||||
profile.SubtitleProfiles.push({
|
profile.SubtitleProfiles.push({
|
||||||
Format: 'vtt',
|
Format: 'vtt',
|
||||||
Method: 'External'
|
Method: 'External'
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
if (options.enableSsaRender !== false && subtitleBurninSetting !== 'allcomplexformats') {
|
if (options.enableSsaRender !== false && !options.isRetry && subtitleBurninSetting !== 'allcomplexformats') {
|
||||||
profile.SubtitleProfiles.push({
|
profile.SubtitleProfiles.push({
|
||||||
Format: 'ass',
|
Format: 'ass',
|
||||||
Method: 'External'
|
Method: 'External'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue