mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-05-12 21:32:40 +00:00
19 lines
344 B
Rust
19 lines
344 B
Rust
#![allow(clippy::non_send_fields_in_send_ty)]
|
|
|
|
#[path = "../glupload.rs"]
|
|
mod glupload;
|
|
use glupload::*;
|
|
|
|
#[path = "../examples-common.rs"]
|
|
pub mod examples_common;
|
|
|
|
fn example_main() {
|
|
App::new(None)
|
|
.and_then(main_loop)
|
|
.unwrap_or_else(|e| eprintln!("Error! {e}"))
|
|
}
|
|
|
|
fn main() {
|
|
examples_common::run(example_main);
|
|
}
|