[skip ci] log warn
This commit is contained in:
1 parent
9e68decc88
commit
ee84c3df9a
2 files changed
+2
No files matched your search
@@ -45,6 +45,7 @@ class DashManifest
|
||||
audioStreams = m.getAudioStreams(adaptiveFormats)
|
||||
videoStreams = m.getVideoStreams(adaptiveFormats, qualityFilter)
|
||||
if videoStreams.Count() = 0
|
||||
LogWarn("No video streams found using quality filter:", qualityFilter, "Falling back to all video streams")
|
||||
videoStreams = m.getVideoStreams(adaptiveFormats, {})
|
||||
end if
|
||||
|
||||
|
||||
@@ -166,6 +166,7 @@ namespace Http
|
||||
end for
|
||||
|
||||
if includedQualitiesCount = 0
|
||||
LogWarn("No video streams found using quality filter:", qualityFilter, "Falling back to all video streams")
|
||||
return hlsManifest
|
||||
end if
|
||||
return newLines.join(`\n`)
|
||||
|
||||
Reference in new issue
Block a user