Panics · P26 Media: live positions and trims peg to the media, gone choices clear, rails with no width and huge waveforms hold, subtitle times refuse overflow

This commit is contained in:
ZacharyZhang-NY committed 2026-10-07 02:50:34 -04:00
1 parent 829ef681ba
commit 078a2d19d8
14 files changed
+279 -88

No files matched your search

+2 -1
View File
@@ -60,7 +60,8 @@ impl VideoPlayer {
length: Duration,
at: Duration,
) -> Self {
assert!(!length.is_zero() && at <= length, "{at:?} of {length:?}");
assert!(!length.is_zero(), "{at:?} of no length");
let at = super::played(at, length, "video player");
Self {
id: id.into(),
frame,