Commit ccc3652a authored by Sebastian Dröge's avatar Sebastian Dröge 🍵

plugin::register_static() can fail so don't let it silently fail

parent d7fc5ca2
Pipeline #15922 passed with stages
in 4 minutes and 19 seconds
......@@ -26,7 +26,7 @@ fn init() {
INIT.call_once(|| {
gst::init().unwrap();
gstrsclosedcaption::plugin_register_static();
gstrsclosedcaption::plugin_register_static().expect("mccenc test");
});
}
......
......@@ -27,7 +27,7 @@ fn init() {
INIT.call_once(|| {
gst::init().unwrap();
gstrsclosedcaption::plugin_register_static();
gstrsclosedcaption::plugin_register_static().expect("mccparse test");
});
}
......
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