diff --git a/gst-plugin-closedcaption/tests/mcc_enc.rs b/gst-plugin-closedcaption/tests/mcc_enc.rs index 8ce51fdb..4c114a65 100644 --- a/gst-plugin-closedcaption/tests/mcc_enc.rs +++ b/gst-plugin-closedcaption/tests/mcc_enc.rs @@ -26,7 +26,7 @@ fn init() { INIT.call_once(|| { gst::init().unwrap(); - gstrsclosedcaption::plugin_register_static(); + gstrsclosedcaption::plugin_register_static().expect("mccenc test"); }); } diff --git a/gst-plugin-closedcaption/tests/mcc_parse.rs b/gst-plugin-closedcaption/tests/mcc_parse.rs index ec522d05..984f77a9 100644 --- a/gst-plugin-closedcaption/tests/mcc_parse.rs +++ b/gst-plugin-closedcaption/tests/mcc_parse.rs @@ -27,7 +27,7 @@ fn init() { INIT.call_once(|| { gst::init().unwrap(); - gstrsclosedcaption::plugin_register_static(); + gstrsclosedcaption::plugin_register_static().expect("mccparse test"); }); }