This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

๐Ÿ› Limit end ms when using rendering start point override

+2 -1
+2 -1
src/video/video.rs
··· 198 198 199 199 pub fn constrained_ms_range(&self) -> Range<usize> { 200 200 let start_ms = self.start_rendering_at.ms(); 201 - start_ms..(start_ms + self.duration_ms()) 201 + let end_ms = start_ms + self.duration_ms(); 202 + start_ms..end_ms.min(self.total_duration_ms()) 202 203 } 203 204 204 205 pub fn total_ms_range(&self) -> Range<usize> {