1
0
Fork 0
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:
Dmitry Lyzo 2024-04-15 20:26:12 +03:00 committed by Dmitry Lyzo
parent 58051dcd80
commit ce15adba69
5 changed files with 27 additions and 1 deletions

View file

@ -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);
}