2022-12-10 07:37:33 +00:00
|
|
|
// Copyright (C) 2024, Asymptotic Inc.
|
|
|
|
// Author: Sanchayan Maity <sanchayan@asymptotic.io>
|
|
|
|
//
|
|
|
|
// This Source Code Form is subject to the terms of the Mozilla Public License, v2.0.
|
|
|
|
// If a copy of the MPL was not distributed with this file, You can obtain one at
|
|
|
|
// <https://mozilla.org/MPL/2.0/>.
|
|
|
|
//
|
|
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
#![allow(clippy::non_send_fields_in_send_ty, unused_doc_comments)]
|
|
|
|
|
|
|
|
/**
|
2024-05-01 12:42:12 +00:00
|
|
|
* plugin-quinn:
|
2022-12-10 07:37:33 +00:00
|
|
|
*
|
2024-05-01 12:42:12 +00:00
|
|
|
* Since: plugins-rs-0.13.0
|
2022-12-10 07:37:33 +00:00
|
|
|
*/
|
|
|
|
use gst::glib;
|
2024-04-30 10:53:53 +00:00
|
|
|
mod quinnquicsink;
|
|
|
|
mod quinnquicsrc;
|
2022-12-10 07:37:33 +00:00
|
|
|
mod utils;
|
|
|
|
|
|
|
|
fn plugin_init(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
|
2024-04-30 10:53:53 +00:00
|
|
|
quinnquicsink::register(plugin)?;
|
|
|
|
quinnquicsrc::register(plugin)?;
|
2022-12-10 07:37:33 +00:00
|
|
|
|
|
|
|
Ok(())
|
|
|
|
}
|
|
|
|
|
|
|
|
gst::plugin_define!(
|
2024-05-01 12:42:12 +00:00
|
|
|
quinn,
|
2022-12-10 07:37:33 +00:00
|
|
|
env!("CARGO_PKG_DESCRIPTION"),
|
|
|
|
plugin_init,
|
|
|
|
concat!(env!("CARGO_PKG_VERSION"), "-", env!("COMMIT_ID")),
|
|
|
|
"MPL",
|
|
|
|
env!("CARGO_PKG_NAME"),
|
|
|
|
env!("CARGO_PKG_NAME"),
|
|
|
|
env!("CARGO_PKG_REPOSITORY"),
|
|
|
|
env!("BUILD_REL_DATE")
|
|
|
|
);
|