mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-25 19:11:06 +00:00
Update gir to 1c1a8d7 and regenerate with associated enum/flag functions
This commit is contained in:
parent
01ae47c90c
commit
15d8774e6b
146 changed files with 1017 additions and 288 deletions
2
gir
2
gir
|
@ -1 +1 @@
|
|||
Subproject commit e941700f720b09ceb98d37369275ca292c34d650
|
||||
Subproject commit 1c1a8d701cf372ed673ca609bd176a75848e75aa
|
|
@ -1,2 +1,2 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
#[cfg(not(feature = "dox"))]
|
||||
|
@ -11,7 +11,7 @@ fn main() {} // prevent linking libraries to avoid documentation failure
|
|||
#[cfg(not(feature = "dox"))]
|
||||
fn main() {
|
||||
if let Err(s) = system_deps::Config::new().probe() {
|
||||
let _ = eprintln!("{}", s);
|
||||
println!("cargo:warning={}", s);
|
||||
process::exit(1);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
use gstreamer_app_sys::*;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -8,6 +8,7 @@ use glib::value::FromValueOptional;
|
|||
use glib::value::SetValue;
|
||||
use glib::StaticType;
|
||||
use glib::Type;
|
||||
use std::fmt;
|
||||
|
||||
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
|
||||
#[non_exhaustive]
|
||||
|
@ -205,6 +206,20 @@ pub enum AudioFormat {
|
|||
__Unknown(i32),
|
||||
}
|
||||
|
||||
impl AudioFormat {
|
||||
pub fn from_string(format: &str) -> AudioFormat {
|
||||
assert_initialized_main_thread!();
|
||||
unsafe { from_glib(ffi::gst_audio_format_from_string(format.to_glib_none().0)) }
|
||||
}
|
||||
}
|
||||
|
||||
impl fmt::Display for AudioFormat {
|
||||
#[inline]
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
f.write_str(&self.to_str())
|
||||
}
|
||||
}
|
||||
|
||||
#[doc(hidden)]
|
||||
impl ToGlib for AudioFormat {
|
||||
type GlibType = ffi::GstAudioFormat;
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
#[cfg(not(feature = "dox"))]
|
||||
|
@ -11,7 +11,7 @@ fn main() {} // prevent linking libraries to avoid documentation failure
|
|||
#[cfg(not(feature = "dox"))]
|
||||
fn main() {
|
||||
if let Err(s) = system_deps::Config::new().probe() {
|
||||
let _ = eprintln!("{}", s);
|
||||
println!("cargo:warning={}", s);
|
||||
process::exit(1);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
use gstreamer_audio_sys::*;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
#[cfg(not(feature = "dox"))]
|
||||
|
@ -11,7 +11,7 @@ fn main() {} // prevent linking libraries to avoid documentation failure
|
|||
#[cfg(not(feature = "dox"))]
|
||||
fn main() {
|
||||
if let Err(s) = system_deps::Config::new().probe() {
|
||||
let _ = eprintln!("{}", s);
|
||||
println!("cargo:warning={}", s);
|
||||
process::exit(1);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
use gstreamer_base_sys::*;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
#[cfg(not(feature = "dox"))]
|
||||
|
@ -11,7 +11,7 @@ fn main() {} // prevent linking libraries to avoid documentation failure
|
|||
#[cfg(not(feature = "dox"))]
|
||||
fn main() {
|
||||
if let Err(s) = system_deps::Config::new().probe() {
|
||||
let _ = eprintln!("{}", s);
|
||||
println!("cargo:warning={}", s);
|
||||
process::exit(1);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
use gstreamer_check_sys::*;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
#[cfg(not(feature = "dox"))]
|
||||
|
@ -11,7 +11,7 @@ fn main() {} // prevent linking libraries to avoid documentation failure
|
|||
#[cfg(not(feature = "dox"))]
|
||||
fn main() {
|
||||
if let Err(s) = system_deps::Config::new().probe() {
|
||||
let _ = eprintln!("{}", s);
|
||||
println!("cargo:warning={}", s);
|
||||
process::exit(1);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
use gstreamer_controller_sys::*;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -8,6 +8,12 @@ use glib::value::FromValueOptional;
|
|||
use glib::value::SetValue;
|
||||
use glib::StaticType;
|
||||
use glib::Type;
|
||||
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))]
|
||||
use std::ffi::CStr;
|
||||
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))]
|
||||
use std::fmt;
|
||||
|
||||
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
|
||||
#[non_exhaustive]
|
||||
|
@ -19,6 +25,31 @@ pub enum Edge {
|
|||
__Unknown(i32),
|
||||
}
|
||||
|
||||
impl Edge {
|
||||
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))]
|
||||
pub fn name<'a>(self) -> &'a str {
|
||||
unsafe {
|
||||
CStr::from_ptr(
|
||||
ffi::ges_edge_name(self.to_glib())
|
||||
.as_ref()
|
||||
.expect("ges_edge_name returned NULL"),
|
||||
)
|
||||
.to_str()
|
||||
.expect("ges_edge_name returned an invalid string")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))]
|
||||
impl fmt::Display for Edge {
|
||||
#[inline]
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
f.write_str(&self.name())
|
||||
}
|
||||
}
|
||||
|
||||
#[doc(hidden)]
|
||||
impl ToGlib for Edge {
|
||||
type GlibType = ffi::GESEdge;
|
||||
|
@ -82,6 +113,31 @@ pub enum EditMode {
|
|||
__Unknown(i32),
|
||||
}
|
||||
|
||||
impl EditMode {
|
||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
||||
pub fn name<'a>(self) -> &'a str {
|
||||
unsafe {
|
||||
CStr::from_ptr(
|
||||
ffi::ges_edit_mode_name(self.to_glib())
|
||||
.as_ref()
|
||||
.expect("ges_edit_mode_name returned NULL"),
|
||||
)
|
||||
.to_str()
|
||||
.expect("ges_edit_mode_name returned an invalid string")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))]
|
||||
impl fmt::Display for EditMode {
|
||||
#[inline]
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
f.write_str(&self.name())
|
||||
}
|
||||
}
|
||||
|
||||
#[doc(hidden)]
|
||||
impl ToGlib for EditMode {
|
||||
type GlibType = ffi::GESEditMode;
|
||||
|
|
|
@ -9,6 +9,8 @@ use glib::value::FromValueOptional;
|
|||
use glib::value::SetValue;
|
||||
use glib::StaticType;
|
||||
use glib::Type;
|
||||
use std::ffi::CStr;
|
||||
use std::fmt;
|
||||
|
||||
bitflags! {
|
||||
pub struct PipelineFlags: u32 {
|
||||
|
@ -71,6 +73,27 @@ bitflags! {
|
|||
}
|
||||
}
|
||||
|
||||
impl TrackType {
|
||||
pub fn name<'a>(self) -> &'a str {
|
||||
unsafe {
|
||||
CStr::from_ptr(
|
||||
ffi::ges_track_type_name(self.to_glib())
|
||||
.as_ref()
|
||||
.expect("ges_track_type_name returned NULL"),
|
||||
)
|
||||
.to_str()
|
||||
.expect("ges_track_type_name returned an invalid string")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl fmt::Display for TrackType {
|
||||
#[inline]
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
f.write_str(&self.name())
|
||||
}
|
||||
}
|
||||
|
||||
#[doc(hidden)]
|
||||
impl ToGlib for TrackType {
|
||||
type GlibType = ffi::GESTrackType;
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
#[cfg(not(feature = "dox"))]
|
||||
|
@ -11,7 +11,7 @@ fn main() {} // prevent linking libraries to avoid documentation failure
|
|||
#[cfg(not(feature = "dox"))]
|
||||
fn main() {
|
||||
if let Err(s) = system_deps::Config::new().probe() {
|
||||
let _ = eprintln!("{}", s);
|
||||
println!("cargo:warning={}", s);
|
||||
process::exit(1);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
use gstreamer_editing_services_sys::*;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
#[cfg(not(feature = "dox"))]
|
||||
|
@ -11,7 +11,7 @@ fn main() {} // prevent linking libraries to avoid documentation failure
|
|||
#[cfg(not(feature = "dox"))]
|
||||
fn main() {
|
||||
if let Err(s) = system_deps::Config::new().probe() {
|
||||
let _ = eprintln!("{}", s);
|
||||
println!("cargo:warning={}", s);
|
||||
process::exit(1);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
use gstreamer_gl_egl_sys::*;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -2,7 +2,14 @@
|
|||
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||||
// DO NOT EDIT
|
||||
|
||||
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))]
|
||||
use crate::GLContext;
|
||||
use crate::GLSLProfile;
|
||||
use glib::error::ErrorDomain;
|
||||
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))]
|
||||
use glib::object::IsA;
|
||||
use glib::translate::*;
|
||||
use glib::value::FromValue;
|
||||
use glib::value::FromValueOptional;
|
||||
|
@ -10,6 +17,7 @@ use glib::value::SetValue;
|
|||
use glib::Quark;
|
||||
use glib::StaticType;
|
||||
use glib::Type;
|
||||
use std::mem;
|
||||
|
||||
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
|
||||
#[non_exhaustive]
|
||||
|
@ -132,6 +140,47 @@ pub enum GLFormat {
|
|||
__Unknown(i32),
|
||||
}
|
||||
|
||||
impl GLFormat {
|
||||
//pub fn from_video_info<P: IsA<GLContext>>(context: &P, vinfo: /*Ignored*/&mut gst_video::VideoInfo, plane: u32) -> GLFormat {
|
||||
// unsafe { TODO: call ffi:gst_gl_format_from_video_info() }
|
||||
//}
|
||||
|
||||
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))]
|
||||
pub fn is_supported<P: IsA<GLContext>>(context: &P, format: GLFormat) -> bool {
|
||||
skip_assert_initialized!();
|
||||
unsafe {
|
||||
from_glib(ffi::gst_gl_format_is_supported(
|
||||
context.as_ref().to_glib_none().0,
|
||||
format.to_glib(),
|
||||
))
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))]
|
||||
pub fn type_from_sized_gl_format(self) -> (GLFormat, u32) {
|
||||
assert_initialized_main_thread!();
|
||||
unsafe {
|
||||
let mut unsized_format = mem::MaybeUninit::uninit();
|
||||
let mut gl_type = mem::MaybeUninit::uninit();
|
||||
ffi::gst_gl_format_type_from_sized_gl_format(
|
||||
self.to_glib(),
|
||||
unsized_format.as_mut_ptr(),
|
||||
gl_type.as_mut_ptr(),
|
||||
);
|
||||
let unsized_format = unsized_format.assume_init();
|
||||
let gl_type = gl_type.assume_init();
|
||||
(from_glib(unsized_format), gl_type)
|
||||
}
|
||||
}
|
||||
|
||||
pub fn type_n_bytes(format: u32, type_: u32) -> u32 {
|
||||
assert_initialized_main_thread!();
|
||||
unsafe { ffi::gst_gl_format_type_n_bytes(format, type_) }
|
||||
}
|
||||
}
|
||||
|
||||
#[doc(hidden)]
|
||||
impl ToGlib for GLFormat {
|
||||
type GlibType = ffi::GstGLFormat;
|
||||
|
@ -383,6 +432,48 @@ pub enum GLSLVersion {
|
|||
__Unknown(i32),
|
||||
}
|
||||
|
||||
impl GLSLVersion {
|
||||
pub fn from_string(string: &str) -> GLSLVersion {
|
||||
assert_initialized_main_thread!();
|
||||
unsafe { from_glib(ffi::gst_glsl_version_from_string(string.to_glib_none().0)) }
|
||||
}
|
||||
|
||||
pub fn profile_from_string(string: &str) -> Option<(GLSLVersion, GLSLProfile)> {
|
||||
assert_initialized_main_thread!();
|
||||
unsafe {
|
||||
let mut version_ret = mem::MaybeUninit::uninit();
|
||||
let mut profile_ret = mem::MaybeUninit::uninit();
|
||||
let ret = from_glib(ffi::gst_glsl_version_profile_from_string(
|
||||
string.to_glib_none().0,
|
||||
version_ret.as_mut_ptr(),
|
||||
profile_ret.as_mut_ptr(),
|
||||
));
|
||||
let version_ret = version_ret.assume_init();
|
||||
let profile_ret = profile_ret.assume_init();
|
||||
if ret {
|
||||
Some((from_glib(version_ret), from_glib(profile_ret)))
|
||||
} else {
|
||||
None
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
pub fn profile_to_string(self, profile: GLSLProfile) -> Option<glib::GString> {
|
||||
assert_initialized_main_thread!();
|
||||
unsafe {
|
||||
from_glib_full(ffi::gst_glsl_version_profile_to_string(
|
||||
self.to_glib(),
|
||||
profile.to_glib(),
|
||||
))
|
||||
}
|
||||
}
|
||||
|
||||
pub fn to_str(self) -> Option<glib::GString> {
|
||||
assert_initialized_main_thread!();
|
||||
unsafe { from_glib_none(ffi::gst_glsl_version_to_string(self.to_glib())) }
|
||||
}
|
||||
}
|
||||
|
||||
#[doc(hidden)]
|
||||
impl ToGlib for GLSLVersion {
|
||||
type GlibType = ffi::GstGLSLVersion;
|
||||
|
@ -538,6 +629,37 @@ pub enum GLTextureTarget {
|
|||
__Unknown(i32),
|
||||
}
|
||||
|
||||
impl GLTextureTarget {
|
||||
pub fn from_gl(target: u32) -> GLTextureTarget {
|
||||
assert_initialized_main_thread!();
|
||||
unsafe { from_glib(ffi::gst_gl_texture_target_from_gl(target)) }
|
||||
}
|
||||
|
||||
pub fn from_string(str: &str) -> GLTextureTarget {
|
||||
assert_initialized_main_thread!();
|
||||
unsafe { from_glib(ffi::gst_gl_texture_target_from_string(str.to_glib_none().0)) }
|
||||
}
|
||||
|
||||
pub fn to_buffer_pool_option(self) -> Option<glib::GString> {
|
||||
assert_initialized_main_thread!();
|
||||
unsafe {
|
||||
from_glib_none(ffi::gst_gl_texture_target_to_buffer_pool_option(
|
||||
self.to_glib(),
|
||||
))
|
||||
}
|
||||
}
|
||||
|
||||
pub fn to_gl(self) -> u32 {
|
||||
assert_initialized_main_thread!();
|
||||
unsafe { ffi::gst_gl_texture_target_to_gl(self.to_glib()) }
|
||||
}
|
||||
|
||||
pub fn to_str(self) -> Option<glib::GString> {
|
||||
assert_initialized_main_thread!();
|
||||
unsafe { from_glib_none(ffi::gst_gl_texture_target_to_string(self.to_glib())) }
|
||||
}
|
||||
}
|
||||
|
||||
#[doc(hidden)]
|
||||
impl ToGlib for GLTextureTarget {
|
||||
type GlibType = ffi::GstGLTextureTarget;
|
||||
|
|
|
@ -9,6 +9,7 @@ use glib::value::FromValueOptional;
|
|||
use glib::value::SetValue;
|
||||
use glib::StaticType;
|
||||
use glib::Type;
|
||||
use std::fmt;
|
||||
|
||||
bitflags! {
|
||||
pub struct GLAPI: u32 {
|
||||
|
@ -19,6 +20,25 @@ bitflags! {
|
|||
}
|
||||
}
|
||||
|
||||
impl GLAPI {
|
||||
pub fn from_string(api_s: &str) -> GLAPI {
|
||||
assert_initialized_main_thread!();
|
||||
unsafe { from_glib(ffi::gst_gl_api_from_string(api_s.to_glib_none().0)) }
|
||||
}
|
||||
|
||||
pub fn to_str(self) -> glib::GString {
|
||||
assert_initialized_main_thread!();
|
||||
unsafe { from_glib_full(ffi::gst_gl_api_to_string(self.to_glib())) }
|
||||
}
|
||||
}
|
||||
|
||||
impl fmt::Display for GLAPI {
|
||||
#[inline]
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
f.write_str(&self.to_str())
|
||||
}
|
||||
}
|
||||
|
||||
#[doc(hidden)]
|
||||
impl ToGlib for GLAPI {
|
||||
type GlibType = ffi::GstGLAPI;
|
||||
|
@ -127,6 +147,29 @@ bitflags! {
|
|||
}
|
||||
}
|
||||
|
||||
impl GLPlatform {
|
||||
pub fn from_string(platform_s: &str) -> GLPlatform {
|
||||
assert_initialized_main_thread!();
|
||||
unsafe {
|
||||
from_glib(ffi::gst_gl_platform_from_string(
|
||||
platform_s.to_glib_none().0,
|
||||
))
|
||||
}
|
||||
}
|
||||
|
||||
pub fn to_str(self) -> glib::GString {
|
||||
assert_initialized_main_thread!();
|
||||
unsafe { from_glib_full(ffi::gst_gl_platform_to_string(self.to_glib())) }
|
||||
}
|
||||
}
|
||||
|
||||
impl fmt::Display for GLPlatform {
|
||||
#[inline]
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
f.write_str(&self.to_str())
|
||||
}
|
||||
}
|
||||
|
||||
#[doc(hidden)]
|
||||
impl ToGlib for GLPlatform {
|
||||
type GlibType = ffi::GstGLPlatform;
|
||||
|
@ -176,6 +219,18 @@ bitflags! {
|
|||
}
|
||||
}
|
||||
|
||||
impl GLSLProfile {
|
||||
pub fn from_string(string: &str) -> GLSLProfile {
|
||||
assert_initialized_main_thread!();
|
||||
unsafe { from_glib(ffi::gst_glsl_profile_from_string(string.to_glib_none().0)) }
|
||||
}
|
||||
|
||||
pub fn to_str(self) -> Option<glib::GString> {
|
||||
assert_initialized_main_thread!();
|
||||
unsafe { from_glib_none(ffi::gst_glsl_profile_to_string(self.to_glib())) }
|
||||
}
|
||||
}
|
||||
|
||||
#[doc(hidden)]
|
||||
impl ToGlib for GLSLProfile {
|
||||
type GlibType = ffi::GstGLSLProfile;
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
#[cfg(not(feature = "dox"))]
|
||||
|
@ -11,7 +11,7 @@ fn main() {} // prevent linking libraries to avoid documentation failure
|
|||
#[cfg(not(feature = "dox"))]
|
||||
fn main() {
|
||||
if let Err(s) = system_deps::Config::new().probe() {
|
||||
let _ = eprintln!("{}", s);
|
||||
println!("cargo:warning={}", s);
|
||||
process::exit(1);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
use gstreamer_gl_sys::*;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
#[cfg(not(feature = "dox"))]
|
||||
|
@ -11,7 +11,7 @@ fn main() {} // prevent linking libraries to avoid documentation failure
|
|||
#[cfg(not(feature = "dox"))]
|
||||
fn main() {
|
||||
if let Err(s) = system_deps::Config::new().probe() {
|
||||
let _ = eprintln!("{}", s);
|
||||
println!("cargo:warning={}", s);
|
||||
process::exit(1);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
use gstreamer_gl_wayland_sys::*;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
#[cfg(not(feature = "dox"))]
|
||||
|
@ -11,7 +11,7 @@ fn main() {} // prevent linking libraries to avoid documentation failure
|
|||
#[cfg(not(feature = "dox"))]
|
||||
fn main() {
|
||||
if let Err(s) = system_deps::Config::new().probe() {
|
||||
let _ = eprintln!("{}", s);
|
||||
println!("cargo:warning={}", s);
|
||||
process::exit(1);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
use gstreamer_gl_x11_sys::*;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
#[cfg(not(feature = "dox"))]
|
||||
|
@ -11,7 +11,7 @@ fn main() {} // prevent linking libraries to avoid documentation failure
|
|||
#[cfg(not(feature = "dox"))]
|
||||
fn main() {
|
||||
if let Err(s) = system_deps::Config::new().probe() {
|
||||
let _ = eprintln!("{}", s);
|
||||
println!("cargo:warning={}", s);
|
||||
process::exit(1);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
use gstreamer_mpegts_sys::*;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
#[cfg(not(feature = "dox"))]
|
||||
|
@ -11,7 +11,7 @@ fn main() {} // prevent linking libraries to avoid documentation failure
|
|||
#[cfg(not(feature = "dox"))]
|
||||
fn main() {
|
||||
if let Err(s) = system_deps::Config::new().probe() {
|
||||
let _ = eprintln!("{}", s);
|
||||
println!("cargo:warning={}", s);
|
||||
process::exit(1);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
use gstreamer_net_sys::*;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
use crate::EncodingProfile;
|
||||
use glib::translate::*;
|
||||
use std::fmt;
|
||||
use std::ptr;
|
||||
|
||||
glib::glib_wrapper! {
|
||||
|
@ -135,5 +136,12 @@ impl EncodingTarget {
|
|||
}
|
||||
}
|
||||
|
||||
impl fmt::Display for EncodingTarget {
|
||||
#[inline]
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
f.write_str(&self.get_name())
|
||||
}
|
||||
}
|
||||
|
||||
unsafe impl Send for EncodingTarget {}
|
||||
unsafe impl Sync for EncodingTarget {}
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
#[cfg(not(feature = "dox"))]
|
||||
|
@ -11,7 +11,7 @@ fn main() {} // prevent linking libraries to avoid documentation failure
|
|||
#[cfg(not(feature = "dox"))]
|
||||
fn main() {
|
||||
if let Err(s) = system_deps::Config::new().probe() {
|
||||
let _ = eprintln!("{}", s);
|
||||
println!("cargo:warning={}", s);
|
||||
process::exit(1);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
use gstreamer_pbutils_sys::*;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -22,6 +22,13 @@ pub enum PlayerColorBalanceType {
|
|||
__Unknown(i32),
|
||||
}
|
||||
|
||||
impl PlayerColorBalanceType {
|
||||
pub fn get_name(self) -> Option<glib::GString> {
|
||||
assert_initialized_main_thread!();
|
||||
unsafe { from_glib_none(ffi::gst_player_color_balance_type_get_name(self.to_glib())) }
|
||||
}
|
||||
}
|
||||
|
||||
#[doc(hidden)]
|
||||
impl ToGlib for PlayerColorBalanceType {
|
||||
type GlibType = ffi::GstPlayerColorBalanceType;
|
||||
|
@ -83,6 +90,13 @@ pub enum PlayerError {
|
|||
__Unknown(i32),
|
||||
}
|
||||
|
||||
impl PlayerError {
|
||||
pub fn get_name(self) -> Option<glib::GString> {
|
||||
assert_initialized_main_thread!();
|
||||
unsafe { from_glib_none(ffi::gst_player_error_get_name(self.to_glib())) }
|
||||
}
|
||||
}
|
||||
|
||||
#[doc(hidden)]
|
||||
impl ToGlib for PlayerError {
|
||||
type GlibType = ffi::GstPlayerError;
|
||||
|
@ -204,6 +218,13 @@ pub enum PlayerState {
|
|||
__Unknown(i32),
|
||||
}
|
||||
|
||||
impl PlayerState {
|
||||
pub fn get_name(self) -> Option<glib::GString> {
|
||||
assert_initialized_main_thread!();
|
||||
unsafe { from_glib_none(ffi::gst_player_state_get_name(self.to_glib())) }
|
||||
}
|
||||
}
|
||||
|
||||
#[doc(hidden)]
|
||||
impl ToGlib for PlayerState {
|
||||
type GlibType = ffi::GstPlayerState;
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
#[cfg(not(feature = "dox"))]
|
||||
|
@ -11,7 +11,7 @@ fn main() {} // prevent linking libraries to avoid documentation failure
|
|||
#[cfg(not(feature = "dox"))]
|
||||
fn main() {
|
||||
if let Err(s) = system_deps::Config::new().probe() {
|
||||
let _ = eprintln!("{}", s);
|
||||
println!("cargo:warning={}", s);
|
||||
process::exit(1);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
use gstreamer_player_sys::*;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
#[cfg(not(feature = "dox"))]
|
||||
|
@ -11,7 +11,7 @@ fn main() {} // prevent linking libraries to avoid documentation failure
|
|||
#[cfg(not(feature = "dox"))]
|
||||
fn main() {
|
||||
if let Err(s) = system_deps::Config::new().probe() {
|
||||
let _ = eprintln!("{}", s);
|
||||
println!("cargo:warning={}", s);
|
||||
process::exit(1);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
use gstreamer_rtp_sys::*;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
#[cfg(not(feature = "dox"))]
|
||||
|
@ -11,7 +11,7 @@ fn main() {} // prevent linking libraries to avoid documentation failure
|
|||
#[cfg(not(feature = "dox"))]
|
||||
fn main() {
|
||||
if let Err(s) = system_deps::Config::new().probe() {
|
||||
let _ = eprintln!("{}", s);
|
||||
println!("cargo:warning={}", s);
|
||||
process::exit(1);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 1c1a8d7)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 01ae47c9)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue