Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2019-01-21 23:13:07 +0300
committerSebastian Dröge <sebastian@centricular.com>2019-01-21 23:13:07 +0300
commitccc3652a1a705cb641a38b782815cb8f662e1e9d (patch)
tree4838cd821c756a952f6276d76f5dbe7ad5a5db4d
parentd7fc5ca2723c1f9271bc2c015f623705147dca37 (diff)
plugin::register_static() can fail so don't let it silently fail
-rw-r--r--gst-plugin-closedcaption/tests/mcc_enc.rs2
-rw-r--r--gst-plugin-closedcaption/tests/mcc_parse.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/gst-plugin-closedcaption/tests/mcc_enc.rs b/gst-plugin-closedcaption/tests/mcc_enc.rs
index 8ce51fdb9..4c114a65a 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 ec522d05c..984f77a9b 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");
});
}