mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Add DTS enabling option
This commit is contained in:
parent
58051dcd80
commit
ce15adba69
5 changed files with 27 additions and 1 deletions
|
@ -547,7 +547,7 @@ export default function (options) {
|
|||
hlsInFmp4VideoAudioCodecs.push('mp2');
|
||||
}
|
||||
|
||||
let supportsDts = options.supportsDts;
|
||||
let supportsDts = appSettings.enableDts() || options.supportsDts;
|
||||
if (supportsDts == null) {
|
||||
supportsDts = canPlayDts(videoTestElement);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue