Skip to content

Commit

Permalink
update to latest re_mp4 on main
Browse files Browse the repository at this point in the history
  • Loading branch information
Wumpf committed Oct 2, 2024
1 parent 24ae1a1 commit a239d92
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5245,7 +5245,7 @@ dependencies = [
[[package]]
name = "re_mp4"
version = "0.1.0"
source = "git+https://github.com/rerun-io/re_mp4?rev=2ea1296f6aa1242ee0395aaf866516072ed0e7fa#2ea1296f6aa1242ee0395aaf866516072ed0e7fa"
source = "git+https://github.com/rerun-io/re_mp4?rev=4705e85f62ddb47c32d9c091d8f0662068211bc8#4705e85f62ddb47c32d9c091d8f0662068211bc8"
dependencies = [
"byteorder",
"bytes",
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ missing_errors_doc = "allow"

# commit on `rerun-io/mp4` `master` branch: https://github.com/rerun-io/re_mp4/tree/master
# https://github.com/rerun-io/mp4/commit/3236c76f9228cf6ab0b2bfb1b8f9ffcde975ea05
re_mp4 = { git = "https://github.com/rerun-io/re_mp4", rev = "2ea1296f6aa1242ee0395aaf866516072ed0e7fa" }
re_mp4 = { git = "https://github.com/rerun-io/re_mp4", rev = "4705e85f62ddb47c32d9c091d8f0662068211bc8" }

# commit on `rerun-io/re_arrow2` `main` branch
# https://github.com/rerun-io/re_arrow2/commit/e4717d6debc6d4474ec10db8f629f823f57bad07
Expand Down
2 changes: 1 addition & 1 deletion crates/store/re_video/src/mp4.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
use super::{Config, Sample, Segment, Time, Timescale, VideoData, VideoLoadError};

pub fn load_mp4(bytes: &[u8]) -> Result<VideoData, VideoLoadError> {
let mp4 = re_mp4::read(bytes)?;
let mp4 = re_mp4::Mp4::read_bytes(bytes)?;

let mp4_tracks = mp4.tracks().iter().map(|(k, t)| (*k, t.kind)).collect();

Expand Down

0 comments on commit a239d92

Please sign in to comment.