reqwesthttpsrc: name lib the same as plugin name

Otherwise it won't be discoverable by gst-inspect-1.0 or registry
lookup.
This commit is contained in:
Charlie Turner 2019-08-01 15:57:22 +01:00
parent 7137d3d389
commit a844d765da
2 changed files with 2 additions and 2 deletions

View file

@ -22,7 +22,7 @@ bytes = "0.4"
hyper = "0.12" hyper = "0.12"
[lib] [lib]
name = "gstreqwest" name = "gstrshttp"
crate-type = ["cdylib", "rlib"] crate-type = ["cdylib", "rlib"]
path = "src/lib.rs" path = "src/lib.rs"

View file

@ -17,7 +17,7 @@ fn init() {
INIT.call_once(|| { INIT.call_once(|| {
gst::init().unwrap(); gst::init().unwrap();
gstreqwest::plugin_register_static().expect("reqwesthttpsrc tests"); gstrshttp::plugin_register_static().expect("reqwesthttpsrc tests");
}); });
} }