From: Kostya Shishkov Date: Thu, 20 Feb 2020 10:38:48 +0000 (+0100) Subject: update player for nihav_registry X-Git-Url: https://git.nihav.org/?p=nihav-player.git;a=commitdiff_plain;h=a41925a20ad149f8b91a3a65a089f12fbf7ac8cb update player for nihav_registry --- diff --git a/Cargo.toml b/Cargo.toml index ce06b0e..68777a5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,6 +6,7 @@ edition = "2018" [dependencies] nihav_core = { path="../nihav-core" } +nihav_registry = { path="../nihav-registry" } nihav_allstuff = { path="../nihav-allstuff" } sdl = { path="./rust-sdl" } diff --git a/src/main.rs b/src/main.rs index 31642ad..b70f3f1 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,5 +1,6 @@ extern crate sdl; extern crate nihav_core; +extern crate nihav_registry; extern crate nihav_allstuff; use sdl::video::*; @@ -16,7 +17,7 @@ use std::sync::{Arc, Mutex}; use std::sync::atomic::{AtomicBool, Ordering}; use std::str::FromStr; -use nihav_core::detect; +use nihav_registry::detect; use nihav_core::formats::*; use nihav_core::frame::*; use nihav_core::io::byteio::{FileReader, ByteReader};