mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-12-22 10:06:29 +00:00
threashare: benchmark: fix target path
This commit is contained in:
parent
ccdb704ca8
commit
53194a64f3
1 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@ fn main() {
|
|||
|
||||
let mut path = Path::new("target/debug");
|
||||
if !path.exists() {
|
||||
path = Path::new("../target/debug");
|
||||
path = Path::new("../../target/debug");
|
||||
}
|
||||
|
||||
gst::Registry::get().scan_path(path);
|
||||
|
@ -43,7 +43,7 @@ fn main() {
|
|||
|
||||
let mut path = Path::new("target/release");
|
||||
if !path.exists() {
|
||||
path = Path::new("../target/release");
|
||||
path = Path::new("../../target/release");
|
||||
}
|
||||
|
||||
gst::Registry::get().scan_path(path);
|
||||
|
|
Loading…
Reference in a new issue