mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-06-01 07:08:29 +00:00
430d89539e
This allows to implement more GL-based examples reusing the same pipeline and rendering logic.
17 lines
295 B
Rust
17 lines
295 B
Rust
#[path = "../glupload.rs"]
|
|
mod glupload;
|
|
use glupload::*;
|
|
|
|
#[path = "../examples-common.rs"]
|
|
pub mod examples_common;
|
|
|
|
fn example_main() {
|
|
App::new()
|
|
.and_then(main_loop)
|
|
.unwrap_or_else(|e| eprintln!("Error! {}", e))
|
|
}
|
|
|
|
fn main() {
|
|
examples_common::run(example_main);
|
|
}
|