[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
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
|
|||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
||||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
|
## [Unreleased]
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Bug in dash storyboard
|
||||||
|
|
||||||
## [0.41.8] - 2025-09-07
|
## [0.41.8] - 2025-09-07
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|||||||
@@ -219,12 +219,6 @@ class DashManifest
|
|||||||
continue for
|
continue for
|
||||||
end if
|
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
|
storyboardWidth = storyboard.storyboardWidth
|
||||||
storyboardHeight = storyboard.storyboardHeight
|
storyboardHeight = storyboard.storyboardHeight
|
||||||
storyboardCount = storyboard.storyboardCount
|
storyboardCount = storyboard.storyboardCount
|
||||||
@@ -240,12 +234,12 @@ class DashManifest
|
|||||||
end if
|
end if
|
||||||
end if
|
end if
|
||||||
|
|
||||||
intervalInSeconds = interval \ 1000
|
intervalInSeconds = interval / 1000.0
|
||||||
|
|
||||||
' YouTube template uses the var $M for tile pages
|
' YouTube template uses the var $M for tile pages
|
||||||
' DASH-IF uses $Number$ in the SegmentTemplate
|
' DASH-IF uses $Number$ in the SegmentTemplate
|
||||||
' https://dashif.org/docs/DASH-IF-IOP-v4.3.pdf
|
' https://dashif.org/docs/DASH-IF-IOP-v4.3.pdf
|
||||||
url = templateUrl.replace("$M", "$Number$")
|
url = storyboard.templateUrl.replace("$M", "$Number$")
|
||||||
|
|
||||||
tilesPerPage = storyboardWidth * storyboardHeight
|
tilesPerPage = storyboardWidth * storyboardHeight
|
||||||
duration = tilesPerPage * intervalInSeconds
|
duration = tilesPerPage * intervalInSeconds
|
||||||
|
|||||||
Reference in new issue
Block a user