Commit 2df6a5e0 authored by Sebastian Dröge's avatar Sebastian Dröge 🍵

sodium: Statically register the plugin in the example

So that it's not needed to set up GST_PLUGIN_PATH accordingly or install
the plugin first before running the examples.
parent e8d6a7cb
Pipeline #46632 passed with stages
in 18 minutes and 27 seconds
......@@ -72,6 +72,7 @@ fn main() -> Result<(), Box<dyn Error>> {
.get_matches();
gst::init()?;
gstsodium::plugin_register_static().expect("Failed to register sodium plugin");
let input_loc = matches.value_of("input").unwrap();
let out_loc = matches.value_of("output").unwrap();
......
......@@ -72,6 +72,7 @@ fn main() -> Result<(), Box<dyn Error>> {
.get_matches();
gst::init()?;
gstsodium::plugin_register_static().expect("Failed to register sodium plugin");
let input_loc = matches.value_of("input").unwrap();
let out_loc = matches.value_of("output").unwrap();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment