Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
emilk committed Nov 13, 2024
1 parent ccb7ec9 commit bad9d03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/viewer/re_renderer/src/video/player.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ impl VideoPlayer {
let presentation_timestamp = presentation_timestamp.min(self.data.duration); // Don't seek past the end of the video.

let error_on_last_frame_at = self.last_error.is_some();
self.unqueue_samples(presentation_timestamp, video_data)?;
self.enqueue_samples(presentation_timestamp, video_data)?;
self.update_video_texture(render_ctx, presentation_timestamp)?;

let frame_info = self.video_texture.frame_info.clone();
Expand Down Expand Up @@ -182,7 +182,7 @@ impl VideoPlayer {
}
}

fn unqueue_samples(
fn enqueue_samples(
&mut self,
presentation_timestamp: Time,
video_data: &[u8],
Expand Down

0 comments on commit bad9d03

Please sign in to comment.