Skip to content

Commit

Permalink
Fix Cargo.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
Polochon-street committed Jul 29, 2020
1 parent 1ae7746 commit 67a0982
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ before_install:
- if [[ $TRAVIS_OS_NAME == 'osx' ]]; then brew install yasm; fi

script: |
travis_wait cargo build --verbose --features "build"
travis_wait cargo build --examples --verbose --features "build"
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ffmpeg4"
version = "0.4.0"
version = "0.4.3"
build = "build.rs"

authors = [
Expand Down Expand Up @@ -97,7 +97,7 @@ version = "0.22"
optional = true

[dependencies.ffmpeg4-sys]
version = "4.2"
default-features = false
# Temporary change it
version = "4.3"
git = "https://github.com/bacek/rust-ffmpeg4-sys"
branch = "release/4.3"
default-features = false
6 changes: 3 additions & 3 deletions src/util/color/primaries.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pub enum Primaries {
SMPTE428,
SMPTE431,
SMPTE432,
JEDEC_P22,
EBU3213,
}

impl From<AVColorPrimaries> for Primaries {
Expand All @@ -40,7 +40,7 @@ impl From<AVColorPrimaries> for Primaries {
AVCOL_PRI_SMPTE428 => Primaries::SMPTE428,
AVCOL_PRI_SMPTE431 => Primaries::SMPTE431,
AVCOL_PRI_SMPTE432 => Primaries::SMPTE432,
AVCOL_PRI_JEDEC_P22 => Primaries::JEDEC_P22,
AVCOL_PRI_EBU3213 => Primaries::EBU3213,
}
}
}
Expand All @@ -63,7 +63,7 @@ impl Into<AVColorPrimaries> for Primaries {
Primaries::SMPTE428 => AVCOL_PRI_SMPTE428,
Primaries::SMPTE431 => AVCOL_PRI_SMPTE431,
Primaries::SMPTE432 => AVCOL_PRI_SMPTE432,
Primaries::JEDEC_P22 => AVCOL_PRI_JEDEC_P22,
Primaries::EBU3213 => AVCOL_PRI_EBU3213,
}
}
}

0 comments on commit 67a0982

Please sign in to comment.