[skip ci] Fix bug in dash storyboard
This commit is contained in:
1 parent
232af471f4
commit
9aa8bc4031
2 files changed
+8
-8
No files matched your search
@@ -219,12 +219,6 @@ class DashManifest
|
||||
continue for
|
||||
end if
|
||||
|
||||
templateUrl = storyboard.templateUrl
|
||||
if templateUrl.Instr("$M") = -1
|
||||
LogWarnNoTelemetry("Invalid storyboard url: url does not contain $M:", templateUrl)
|
||||
continue for
|
||||
end if
|
||||
|
||||
storyboardWidth = storyboard.storyboardWidth
|
||||
storyboardHeight = storyboard.storyboardHeight
|
||||
storyboardCount = storyboard.storyboardCount
|
||||
@@ -240,12 +234,12 @@ class DashManifest
|
||||
end if
|
||||
end if
|
||||
|
||||
intervalInSeconds = interval \ 1000
|
||||
intervalInSeconds = interval / 1000.0
|
||||
|
||||
' YouTube template uses the var $M for tile pages
|
||||
' DASH-IF uses $Number$ in the SegmentTemplate
|
||||
' https://dashif.org/docs/DASH-IF-IOP-v4.3.pdf
|
||||
url = templateUrl.replace("$M", "$Number$")
|
||||
url = storyboard.templateUrl.replace("$M", "$Number$")
|
||||
|
||||
tilesPerPage = storyboardWidth * storyboardHeight
|
||||
duration = tilesPerPage * intervalInSeconds
|
||||
|
||||
Reference in new issue
Block a user