update player for nihav_registry
authorKostya Shishkov <kostya.shishkov@gmail.com>
Thu, 20 Feb 2020 10:38:48 +0000 (11:38 +0100)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Thu, 20 Feb 2020 10:38:48 +0000 (11:38 +0100)
Cargo.toml
src/main.rs

index ce06b0e65ae2797e5b90f0f02174f67a86de41b9..68777a5efe4b0cf14fb1a8cebda1359b1e7e4451 100644 (file)
@@ -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" }
 
index 31642ad0c7e44d7a8550ac9c77e6453987fa723d..b70f3f1537c4243e22949263fc021b9e852b6aa5 100644 (file)
@@ -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};