15 lines
970 B
Diff
15 lines
970 B
Diff
# must fail: dash_adjacency_timescale dash_adjacency_the_audio_timescale
|
|
# a timescale 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 71e36cde..6e7a5b83 100644
|
|
--- a/wai/wai-rs/src/http_binding/dash_read.rs
|
|
+++ b/wai/wai-rs/src/http_binding/dash_read.rs
|
|
@@ -526,7 +526,7 @@ pub fn check_dash_adjacent(wai: &str, classical: &str) -> Result<(), PlaylistErr
|
|
}
|
|
for tl in &s.timelines {
|
|
let aligned = tl.segment_count() > 0
|
|
- && kp.sets.iter().flat_map(|c| &c.timelines).any(|c| c.timescale == tl.timescale && within(&tl.runs, &c.runs));
|
|
+ && kp.sets.iter().flat_map(|c| &c.timelines).any(|c| within(&tl.runs, &c.runs));
|
|
if !aligned {
|
|
return Err(misaligned(format!("a timeline of AdaptationSet {:?} is not a classical one's", s.id)));
|
|
}
|