Skip to content

Commit

Permalink
Tweak cargo file dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
tommy-xr committed Apr 23, 2024
1 parent dcc0ff6 commit efbc53f
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 19 deletions.
28 changes: 14 additions & 14 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion engine_ffmpeg/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ path = "src/lib.rs"
engine = { path = "../engine" }
cgmath = "0.18.0"
byteorder = "1.4.3"
ffmpeg-next = "6.0.0"
ffmpeg-the-third = { version = "1.2.2" , features = ["build"] }
2 changes: 1 addition & 1 deletion engine_ffmpeg/src/audio_player.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
extern crate ffmpeg_next as ffmpeg;
extern crate ffmpeg_the_third as ffmpeg;

use engine::audio::AudioClip;
use ffmpeg::media::Type;
Expand Down
4 changes: 2 additions & 2 deletions engine_ffmpeg/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ mod video_player;
pub use crate::audio_player::AudioPlayer;
pub use crate::video_player::VideoPlayer;

pub fn init() -> Result<(), ffmpeg_next::Error> {
ffmpeg_next::init()
pub fn init() -> Result<(), ffmpeg_the_third::Error> {
ffmpeg_the_third::init()
}
2 changes: 1 addition & 1 deletion engine_ffmpeg/src/video_player.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
extern crate ffmpeg_next as ffmpeg;
extern crate ffmpeg_the_third as ffmpeg;

use engine::texture_format::{PixelFormat, RawTextureData};
use ffmpeg::format::{input, Pixel};
Expand Down

0 comments on commit efbc53f

Please sign in to comment.