mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge pull request #4822 from Goku-04/patch-2
Return boolean through direct comparison
This commit is contained in:
commit
61a496455d
9 changed files with 12 additions and 11 deletions
|
@ -692,7 +692,7 @@ export default function (options) {
|
|||
|
||||
profile.TranscodingProfiles = [];
|
||||
|
||||
const hlsBreakOnNonKeyFrames = browser.iOS || browser.osx || browser.edge || !canPlayNativeHls() ? true : false;
|
||||
const hlsBreakOnNonKeyFrames = browser.iOS || browser.osx || browser.edge || !canPlayNativeHls();
|
||||
|
||||
if (canPlayHls() && browser.enableHlsAudio !== false) {
|
||||
profile.TranscodingProfiles.push({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue