Skip to content

Commit

Permalink
Fix flipped debug assertion in video processing (#8074)
Browse files Browse the repository at this point in the history
* [x] oops!
  • Loading branch information
Wumpf authored Nov 11, 2024
1 parent 6343f82 commit 20fce37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/store/re_video/src/demux/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ impl VideoData {
let Some(has_sample_highest_pts_so_far) =
sample_statistics.has_sample_highest_pts_so_far.as_ref()
else {
debug_assert!(!sample_statistics.dts_always_equal_pts);
debug_assert!(sample_statistics.dts_always_equal_pts);
return Some(decode_sample_idx);
};
debug_assert!(has_sample_highest_pts_so_far.len() == samples.len());
Expand Down

0 comments on commit 20fce37

Please sign in to comment.