Skip to main content

gstclaxon/
lib.rs

1// Copyright (C) 2019 Ruben Gonzalez <rgonzalez@fluendo.com>
2//
3// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
4// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
5// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
6// option. This file may not be copied, modified, or distributed
7// except according to those terms.
8//
9// SPDX-License-Identifier: MIT OR Apache-2.0
10#![allow(clippy::non_send_fields_in_send_ty, unused_doc_comments)]
11
12/**
13 * plugin-claxon:
14 *
15 * Since: plugins-rs-0.6.0
16 */
17use gst::glib;
18
19mod claxondec;
20
21fn plugin_init(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
22    claxondec::register(plugin)
23}
24
25gst::plugin_define!(
26    claxon,
27    env!("CARGO_PKG_DESCRIPTION"),
28    plugin_init,
29    concat!(env!("CARGO_PKG_VERSION"), "-", env!("COMMIT_ID")),
30    "MIT/X11",
31    env!("CARGO_PKG_NAME"),
32    env!("CARGO_PKG_NAME"),
33    env!("CARGO_PKG_REPOSITORY"),
34    env!("BUILD_REL_DATE")
35);