mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-12-20 00:56:30 +00:00
plugin::register_static() can fail so don't let it silently fail
This commit is contained in:
parent
d7fc5ca272
commit
ccc3652a1a
2 changed files with 2 additions and 2 deletions
|
@ -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");
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue