[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)
|
audioStreams = m.getAudioStreams(adaptiveFormats)
|
||||||
videoStreams = m.getVideoStreams(adaptiveFormats, qualityFilter)
|
videoStreams = m.getVideoStreams(adaptiveFormats, qualityFilter)
|
||||||
if videoStreams.Count() = 0
|
if videoStreams.Count() = 0
|
||||||
|
LogWarn("No video streams found using quality filter:", qualityFilter, "Falling back to all video streams")
|
||||||
videoStreams = m.getVideoStreams(adaptiveFormats, {})
|
videoStreams = m.getVideoStreams(adaptiveFormats, {})
|
||||||
end if
|
end if
|
||||||
|
|
||||||
|
|||||||
@@ -166,6 +166,7 @@ namespace Http
|
|||||||
end for
|
end for
|
||||||
|
|
||||||
if includedQualitiesCount = 0
|
if includedQualitiesCount = 0
|
||||||
|
LogWarn("No video streams found using quality filter:", qualityFilter, "Falling back to all video streams")
|
||||||
return hlsManifest
|
return hlsManifest
|
||||||
end if
|
end if
|
||||||
return newLines.join(`\n`)
|
return newLines.join(`\n`)
|
||||||
|
|||||||
Reference in new issue
Block a user