15 lines
862 B
Diff
15 lines
862 B
Diff
# must fail: dash_adjacency_period_start
|
|
# a Period@start not compared (dash_read::check_dash_adjacent)
|
|
diff --git a/wai/wai-rs/src/http_binding/dash_read.rs b/wai/wai-rs/src/http_binding/dash_read.rs
|
|
index 79d55df6..dd967c6c 100644
|
|
--- a/wai/wai-rs/src/http_binding/dash_read.rs
|
|
+++ b/wai/wai-rs/src/http_binding/dash_read.rs
|
|
@@ -450,7 +450,7 @@ pub fn check_dash_adjacent(wai: &str, classical: &str) -> Result<(), PlaylistErr
|
|
let k = read_mpd(classical)?;
|
|
for wp in &w {
|
|
let kp = k.iter().find(|p| p.id == wp.id).ok_or_else(|| misaligned(format!("no classical Period with the @id {:?}", wp.id)))?;
|
|
- if kp.start_ms != wp.start_ms {
|
|
+ if false {
|
|
return Err(misaligned(format!("Period {:?} starts at {} ms, the classical one at {} ms", wp.id, wp.start_ms, kp.start_ms)));
|
|
}
|
|
if wp.sets.is_empty() {
|