Commit 406ca0a
committed
Fix doubling of offset for segment-relative cues
When using segment-relative timestamps in VTT, the presentation
offset has already been factored into the segment time. Therefore,
it should not be added again in the VTT parser.
Closes #595
Closes #599
Change-Id: I9d062af7a17859f6f3374ecf20369b361f3eac7b1 parent 40a92b6 commit 406ca0a
File tree
2 files changed
+4
-4
lines changed- lib/media
- test/media
2 files changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | 115 | | |
119 | 116 | | |
120 | 117 | | |
121 | 118 | | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
356 | 356 | | |
357 | 357 | | |
358 | 358 | | |
359 | | - | |
| 359 | + | |
360 | 360 | | |
361 | 361 | | |
362 | 362 | | |
| |||
0 commit comments