GstPipelineStudio/src/common.rs
Stéphane Cerveau f925c21b1d GPS: cleanup the license
Keep only the SPDX and mention the project
2022-02-09 11:28:59 +01:00

19 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(())
}