threashare: benchmark: fix target path

This commit is contained in:
François Laignel 2020-04-09 19:57:18 +02:00
parent ccdb704ca8
commit 53194a64f3

View file

@ -32,7 +32,7 @@ fn main() {
let mut path = Path::new("target/debug"); let mut path = Path::new("target/debug");
if !path.exists() { if !path.exists() {
path = Path::new("../target/debug"); path = Path::new("../../target/debug");
} }
gst::Registry::get().scan_path(path); gst::Registry::get().scan_path(path);
@ -43,7 +43,7 @@ fn main() {
let mut path = Path::new("target/release"); let mut path = Path::new("target/release");
if !path.exists() { if !path.exists() {
path = Path::new("../target/release"); path = Path::new("../../target/release");
} }
gst::Registry::get().scan_path(path); gst::Registry::get().scan_path(path);