dash gen bug

This commit is contained in:
Brahim Hadriche committed 2025-09-21 19:26:04 -04:00
1 parent e029d24061
commit c12436f464
3 files changed
+14 -7

No files matched your search

@@ -295,15 +295,15 @@ class DashManifest
for i = 0 to streams.Count() - 1
stream = streams[i]
if stream.type.startsWith("audio/")
if stream.bitrate = invalid
if StringUtils.IsNullOrEmpty(stream.bitrate)
LogWarn("Invalid audio stream bitrate, itag:", stream.itag)
continue for
end if
if stream.init = invalid
if StringUtils.IsNullOrEmpty(stream.init)
LogWarn("Invalid audio stream init, itag:", stream.itag)
continue for
end if
if stream.index = invalid
if StringUtils.IsNullOrEmpty(stream.index)
LogWarn("Invalid audio stream index, itag:", stream.itag)
continue for
end if
@@ -325,15 +325,15 @@ class DashManifest
stream = streams[i]
if stream.type.startsWith("video/")
if stream.bitrate = invalid
if StringUtils.IsNullOrEmpty(stream.bitrate)
LogWarn("Invalid video stream bitrate, itag:", stream.itag)
continue for
end if
if stream.init = invalid
if StringUtils.IsNullOrEmpty(stream.init)
LogWarn("Invalid video stream init, itag:", stream.itag)
continue for
end if
if stream.index = invalid
if StringUtils.IsNullOrEmpty(stream.index)
LogWarn("Invalid video stream index, itag:", stream.itag)
continue for
end if