From a41925a20ad149f8b91a3a65a089f12fbf7ac8cb Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Thu, 20 Feb 2020 11:38:48 +0100 Subject: [PATCH] update player for nihav_registry --- Cargo.toml | 1 + src/main.rs | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) 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}; -- 2.30.2