mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-27 14:01:04 +00:00
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:
parent
7137d3d389
commit
a844d765da
2 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||||
|
|
||||||
|
|
|
@ -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");
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue