2020-12-15 10:53:31 +00:00
|
|
|
// Take a look at the license at the top of the repository in the LICENSE file.
|
2017-08-07 14:35:57 +00:00
|
|
|
|
2020-11-27 13:37:49 +00:00
|
|
|
#![cfg_attr(feature = "dox", feature(doc_cfg))]
|
2021-07-30 19:23:46 +00:00
|
|
|
#![allow(clippy::missing_safety_doc)]
|
2022-01-13 21:12:53 +00:00
|
|
|
#![allow(clippy::non_send_fields_in_send_ty)]
|
2021-07-30 16:03:12 +00:00
|
|
|
#![doc = include_str!("../README.md")]
|
2020-11-18 12:48:41 +00:00
|
|
|
|
2020-11-22 10:32:04 +00:00
|
|
|
pub use ffi;
|
2020-12-20 17:39:15 +00:00
|
|
|
pub use gst;
|
|
|
|
pub use gst_video;
|
2017-08-07 14:35:57 +00:00
|
|
|
|
|
|
|
macro_rules! skip_assert_initialized {
|
2018-04-01 08:30:03 +00:00
|
|
|
() => {};
|
2017-08-07 14:35:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
macro_rules! assert_initialized_main_thread {
|
2018-04-01 08:30:03 +00:00
|
|
|
() => {};
|
2017-08-07 14:35:57 +00:00
|
|
|
}
|
|
|
|
|
2019-02-28 08:32:13 +00:00
|
|
|
#[allow(clippy::unreadable_literal)]
|
|
|
|
#[allow(clippy::too_many_arguments)]
|
|
|
|
#[allow(clippy::match_same_arms)]
|
|
|
|
#[allow(clippy::type_complexity)]
|
|
|
|
#[allow(clippy::cast_ptr_alignment)]
|
2021-04-29 20:06:11 +00:00
|
|
|
#[allow(clippy::use_self)]
|
2021-09-21 08:26:31 +00:00
|
|
|
#[allow(clippy::needless_borrow)]
|
2021-11-06 17:09:27 +00:00
|
|
|
#[allow(unused_imports)]
|
2017-08-07 14:35:57 +00:00
|
|
|
mod auto;
|
2020-11-22 10:32:04 +00:00
|
|
|
pub use crate::auto::*;
|
2017-08-07 14:35:57 +00:00
|
|
|
|
2020-12-24 23:17:39 +00:00
|
|
|
pub mod subclass;
|
|
|
|
|
2017-12-16 09:18:00 +00:00
|
|
|
mod config;
|
2018-04-01 08:30:03 +00:00
|
|
|
mod player;
|
2020-11-22 10:32:04 +00:00
|
|
|
pub use crate::config::*;
|
2017-12-16 09:18:00 +00:00
|
|
|
|
|
|
|
mod player_video_info;
|
2017-08-13 17:22:29 +00:00
|
|
|
|
2017-09-10 11:20:35 +00:00
|
|
|
mod player_g_main_context_signal_dispatcher;
|
2018-04-01 08:30:03 +00:00
|
|
|
mod player_video_overlay_video_renderer;
|
2018-06-04 17:20:35 +00:00
|
|
|
mod player_visualization;
|
2017-08-17 14:58:15 +00:00
|
|
|
|
|
|
|
// Re-export all the traits in a prelude module, so that applications
|
2021-04-27 07:30:13 +00:00
|
|
|
// can always "use gst_player::prelude::*" without getting conflicts
|
2017-08-17 14:58:15 +00:00
|
|
|
pub mod prelude {
|
2020-12-20 17:39:15 +00:00
|
|
|
#[doc(hidden)]
|
|
|
|
pub use gst_video::prelude::*;
|
2017-08-17 14:58:15 +00:00
|
|
|
|
2020-11-22 10:32:04 +00:00
|
|
|
pub use crate::auto::traits::*;
|
2017-08-17 14:58:15 +00:00
|
|
|
}
|