15 lines
718 B
Diff
15 lines
718 B
Diff
# must fail: dash_adjacency_o9 mpd_playlists_o9_wai_mpd
|
|
# @r read as no repeat (dash_read::timeline_of)
|
|
diff --git a/wai/wai-rs/src/http_binding/dash_read.rs b/wai/wai-rs/src/http_binding/dash_read.rs
|
|
index 71e36cde..6611250e 100644
|
|
--- a/wai/wai-rs/src/http_binding/dash_read.rs
|
|
+++ b/wai/wai-rs/src/http_binding/dash_read.rs
|
|
@@ -412,7 +412,7 @@ fn timeline_of(e: &Element, inherited: &[&Element]) -> Result<Option<Timeline>,
|
|
if end > u128::from(u64::MAX) {
|
|
return Err(malformed("a segment time past 2^64 - 1"));
|
|
}
|
|
- runs.push(Run { t, d, count: r + 1 });
|
|
+ runs.push(Run { t, d, count: 1 });
|
|
next = end as u64;
|
|
}
|
|
Ok(Some(Timeline { timescale, runs }))
|