mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-12-23 10:30:40 +00:00
sodium: rename plugin to 'gstsodium'
This commit is contained in:
parent
aa12b6bdc2
commit
3e01736caf
4 changed files with 8 additions and 8 deletions
|
@ -31,7 +31,7 @@ git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs"
|
|||
package="gstreamer-app"
|
||||
|
||||
[lib]
|
||||
name = "gstrssodium"
|
||||
name = "gstsodium"
|
||||
crate-type = ["cdylib", "rlib"]
|
||||
path = "src/lib.rs"
|
||||
|
||||
|
|
|
@ -74,13 +74,13 @@ fn plugin_init(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
|
|||
}
|
||||
|
||||
gst_plugin_define!(
|
||||
rssodium,
|
||||
sodium,
|
||||
"libsodium-based file encryption and decryption",
|
||||
plugin_init,
|
||||
"1.0",
|
||||
"MIT/X11",
|
||||
"rssodium",
|
||||
"rssodium",
|
||||
"sodium",
|
||||
"sodium",
|
||||
"https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs",
|
||||
"2019-03-18"
|
||||
);
|
||||
|
|
|
@ -27,7 +27,7 @@ extern crate lazy_static;
|
|||
#[macro_use]
|
||||
extern crate pretty_assertions;
|
||||
|
||||
extern crate gstrssodium;
|
||||
extern crate gstsodium;
|
||||
|
||||
use glib::prelude::*;
|
||||
use gst::prelude::*;
|
||||
|
@ -59,7 +59,7 @@ fn init() {
|
|||
|
||||
INIT.call_once(|| {
|
||||
gst::init().unwrap();
|
||||
gstrssodium::plugin_register_static().unwrap();
|
||||
gstsodium::plugin_register_static().unwrap();
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
#[macro_use]
|
||||
extern crate lazy_static;
|
||||
extern crate gstrssodium;
|
||||
extern crate gstsodium;
|
||||
|
||||
use glib::prelude::*;
|
||||
use gst::prelude::*;
|
||||
|
@ -60,7 +60,7 @@ fn init() {
|
|||
|
||||
INIT.call_once(|| {
|
||||
gst::init().unwrap();
|
||||
gstrssodium::plugin_register_static().unwrap();
|
||||
gstsodium::plugin_register_static().unwrap();
|
||||
// set the nonce
|
||||
std::env::set_var("GST_SODIUM_ENCRYPT_NONCE", hex::encode(&*NONCE));
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue