1#![allow(clippy::non_send_fields_in_send_ty, unused_doc_comments)]
9#![recursion_limit = "128"]
10
11use gst::glib;
17
18mod transcriber;
19
20fn plugin_init(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
21 transcriber::register(plugin)?;
22
23 if !gst::meta::CustomMeta::is_registered("SpeechmaticsItemMeta") {
24 gst::meta::CustomMeta::register("SpeechmaticsItemMeta", &[]);
25 }
26
27 Ok(())
28}
29
30gst::plugin_define!(
31 speechmatics,
32 env!("CARGO_PKG_DESCRIPTION"),
33 plugin_init,
34 concat!(env!("CARGO_PKG_VERSION"), "-", env!("COMMIT_ID")),
35 "MPL",
36 env!("CARGO_PKG_NAME"),
37 env!("CARGO_PKG_NAME"),
38 env!("CARGO_PKG_REPOSITORY"),
39 env!("BUILD_REL_DATE")
40);