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