mirror of
https://gitlab.freedesktop.org/dabrain34/GstPipelineStudio.git
synced 2024-09-24 12:40:03 +00:00
f925c21b1d
Keep only the SPDX and mention the project
18 lines
321 B
Rust
18 lines
321 B
Rust
// common.rs
|
|
//
|
|
// Copyright 2021 Stéphane Cerveau <scerveau@collabora.com>
|
|
//
|
|
// This file is part of GstPipelineStudio
|
|
//
|
|
// SPDX-License-Identifier: GPL-3.0-only
|
|
|
|
use anyhow::Result;
|
|
|
|
pub fn init() -> Result<()> {
|
|
unsafe {
|
|
x11::xlib::XInitThreads();
|
|
}
|
|
gst::init()?;
|
|
gtk::init()?;
|
|
Ok(())
|
|
}
|