Regenerate with latest gir

This commit is contained in:
Sebastian Dröge 2017-07-19 21:41:25 +03:00
parent 5e58998c76
commit 91649b259a
23 changed files with 713 additions and 36 deletions

28
Cargo.lock generated
View file

@ -8,7 +8,7 @@ dependencies = [
"gobject-sys 0.3.4 (git+https://github.com/gtk-rs/sys)", "gobject-sys 0.3.4 (git+https://github.com/gtk-rs/sys)",
"gstreamer-sys 0.1.1 (git+https://github.com/sdroege/gstreamer-sys)", "gstreamer-sys 0.1.1 (git+https://github.com/sdroege/gstreamer-sys)",
"libc 0.2.26 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.26 (registry+https://github.com/rust-lang/crates.io-index)",
"num-rational 0.1.38 (registry+https://github.com/rust-lang/crates.io-index)", "num-rational 0.1.39 (registry+https://github.com/rust-lang/crates.io-index)",
] ]
[[package]] [[package]]
@ -27,7 +27,7 @@ dependencies = [
[[package]] [[package]]
name = "glib" name = "glib"
version = "0.1.3" version = "0.1.3"
source = "git+https://github.com/gtk-rs/glib#aaad1963ea3b1b45c62a3f49a7a1ed0a7f3b12ab" source = "git+https://github.com/gtk-rs/glib#96d1a5702553d6208f16585f9340e261a4c53559"
dependencies = [ dependencies = [
"bitflags 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", "bitflags 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
"glib-sys 0.3.4 (git+https://github.com/gtk-rs/sys)", "glib-sys 0.3.4 (git+https://github.com/gtk-rs/sys)",
@ -39,7 +39,7 @@ dependencies = [
[[package]] [[package]]
name = "glib-sys" name = "glib-sys"
version = "0.3.4" version = "0.3.4"
source = "git+https://github.com/gtk-rs/sys#9354d21dfdb9174bfecafbd75cf2a7c0c8ba5759" source = "git+https://github.com/gtk-rs/sys#8c064a4e3eb514a9906eea3efe517e9706828b5f"
dependencies = [ dependencies = [
"bitflags 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", "bitflags 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.2.26 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.26 (registry+https://github.com/rust-lang/crates.io-index)",
@ -49,7 +49,7 @@ dependencies = [
[[package]] [[package]]
name = "gobject-sys" name = "gobject-sys"
version = "0.3.4" version = "0.3.4"
source = "git+https://github.com/gtk-rs/sys#9354d21dfdb9174bfecafbd75cf2a7c0c8ba5759" source = "git+https://github.com/gtk-rs/sys#8c064a4e3eb514a9906eea3efe517e9706828b5f"
dependencies = [ dependencies = [
"bitflags 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", "bitflags 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
"glib-sys 0.3.4 (git+https://github.com/gtk-rs/sys)", "glib-sys 0.3.4 (git+https://github.com/gtk-rs/sys)",
@ -60,7 +60,7 @@ dependencies = [
[[package]] [[package]]
name = "gstreamer-sys" name = "gstreamer-sys"
version = "0.1.1" version = "0.1.1"
source = "git+https://github.com/sdroege/gstreamer-sys#fbadb070c6f05a39dc68c9f7adaf07aa52909fd8" source = "git+https://github.com/sdroege/gstreamer-sys#fa326c86cb6b2a740e8980d191ec84ee3a861c60"
dependencies = [ dependencies = [
"bitflags 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", "bitflags 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
"glib-sys 0.3.4 (git+https://github.com/gtk-rs/sys)", "glib-sys 0.3.4 (git+https://github.com/gtk-rs/sys)",
@ -81,24 +81,24 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]] [[package]]
name = "num-integer" name = "num-integer"
version = "0.1.34" version = "0.1.35"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [ dependencies = [
"num-traits 0.1.39 (registry+https://github.com/rust-lang/crates.io-index)", "num-traits 0.1.40 (registry+https://github.com/rust-lang/crates.io-index)",
] ]
[[package]] [[package]]
name = "num-rational" name = "num-rational"
version = "0.1.38" version = "0.1.39"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [ dependencies = [
"num-integer 0.1.34 (registry+https://github.com/rust-lang/crates.io-index)", "num-integer 0.1.35 (registry+https://github.com/rust-lang/crates.io-index)",
"num-traits 0.1.39 (registry+https://github.com/rust-lang/crates.io-index)", "num-traits 0.1.40 (registry+https://github.com/rust-lang/crates.io-index)",
] ]
[[package]] [[package]]
name = "num-traits" name = "num-traits"
version = "0.1.39" version = "0.1.40"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]] [[package]]
@ -114,7 +114,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
"checksum gstreamer-sys 0.1.1 (git+https://github.com/sdroege/gstreamer-sys)" = "<none>" "checksum gstreamer-sys 0.1.1 (git+https://github.com/sdroege/gstreamer-sys)" = "<none>"
"checksum lazy_static 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)" = "3b37545ab726dd833ec6420aaba8231c5b320814b9029ad585555d2a03e94fbf" "checksum lazy_static 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)" = "3b37545ab726dd833ec6420aaba8231c5b320814b9029ad585555d2a03e94fbf"
"checksum libc 0.2.26 (registry+https://github.com/rust-lang/crates.io-index)" = "30885bcb161cf67054244d10d4a7f4835ffd58773bc72e07d35fecf472295503" "checksum libc 0.2.26 (registry+https://github.com/rust-lang/crates.io-index)" = "30885bcb161cf67054244d10d4a7f4835ffd58773bc72e07d35fecf472295503"
"checksum num-integer 0.1.34 (registry+https://github.com/rust-lang/crates.io-index)" = "ef1a4bf6f9174aa5783a9b4cc892cacd11aebad6c69ad027a0b65c6ca5f8aa37" "checksum num-integer 0.1.35 (registry+https://github.com/rust-lang/crates.io-index)" = "d1452e8b06e448a07f0e6ebb0bb1d92b8890eea63288c0b627331d53514d0fba"
"checksum num-rational 0.1.38 (registry+https://github.com/rust-lang/crates.io-index)" = "33c881e104a26e1accc09449374c095ff2312c8e0c27fab7bbefe16eac7c776d" "checksum num-rational 0.1.39 (registry+https://github.com/rust-lang/crates.io-index)" = "288629c76fac4b33556f4b7ab57ba21ae202da65ba8b77466e6d598e31990790"
"checksum num-traits 0.1.39 (registry+https://github.com/rust-lang/crates.io-index)" = "1708c0628602a98b52fad936cf3edb9a107af06e52e49fdf0707e884456a6af6" "checksum num-traits 0.1.40 (registry+https://github.com/rust-lang/crates.io-index)" = "99843c856d68d8b4313b03a17e33c4bb42ae8f6610ea81b28abe076ac721b9b0"
"checksum pkg-config 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)" = "3a8b4c6b8165cd1a1cd4b9b120978131389f64bdaf456435caa41e630edba903" "checksum pkg-config 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)" = "3a8b4c6b8165cd1a1cd4b9b120978131389f64bdaf456435caa41e630edba903"

View file

@ -1,4 +1,4 @@
// This file was generated by gir (7504fb6) from gir-files (???) // This file was generated by gir (a4dcfea) from gir-files (???)
// DO NOT EDIT // DO NOT EDIT
#[allow(unused_imports)] #[allow(unused_imports)]

View file

@ -1,4 +1,4 @@
// This file was generated by gir (7504fb6) from gir-files (???) // This file was generated by gir (a4dcfea) from gir-files (???)
// DO NOT EDIT // DO NOT EDIT
use Element; use Element;
@ -15,7 +15,9 @@ use glib::translate::*;
use glib_ffi; use glib_ffi;
use gobject_ffi; use gobject_ffi;
use std::boxed::Box as Box_; use std::boxed::Box as Box_;
use std::mem;
use std::mem::transmute; use std::mem::transmute;
use std::ptr;
glib_wrapper! { glib_wrapper! {
pub struct Bin(Object<ffi::GstBin>): Element, Object; pub struct Bin(Object<ffi::GstBin>): Element, Object;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (7504fb6) from gir-files (???) // This file was generated by gir (a4dcfea) from gir-files (???)
// DO NOT EDIT // DO NOT EDIT
use ClockTime; use ClockTime;
@ -8,8 +8,11 @@ use ffi;
use glib::signal::connect; use glib::signal::connect;
use glib::translate::*; use glib::translate::*;
use glib_ffi; use glib_ffi;
use gobject_ffi;
use std::boxed::Box as Box_; use std::boxed::Box as Box_;
use std::mem;
use std::mem::transmute; use std::mem::transmute;
use std::ptr;
glib_wrapper! { glib_wrapper! {
pub struct Bus(Object<ffi::GstBus>): Object; pub struct Bus(Object<ffi::GstBus>): Object;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (7504fb6) from gir-files (???) // This file was generated by gir (a4dcfea) from gir-files (???)
// DO NOT EDIT // DO NOT EDIT
use ClockTime; use ClockTime;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (7504fb6) from gir-files (???) // This file was generated by gir (a4dcfea) from gir-files (???)
// DO NOT EDIT // DO NOT EDIT
use Caps; use Caps;
@ -15,7 +15,9 @@ use glib::translate::*;
use glib_ffi; use glib_ffi;
use gobject_ffi; use gobject_ffi;
use std::boxed::Box as Box_; use std::boxed::Box as Box_;
use std::mem;
use std::mem::transmute; use std::mem::transmute;
use std::ptr;
glib_wrapper! { glib_wrapper! {
pub struct Device(Object<ffi::GstDevice>): Object; pub struct Device(Object<ffi::GstDevice>): Object;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (7504fb6) from gir-files (???) // This file was generated by gir (a4dcfea) from gir-files (???)
// DO NOT EDIT // DO NOT EDIT
use Bus; use Bus;
@ -10,7 +10,10 @@ use glib;
use glib::Value; use glib::Value;
use glib::object::IsA; use glib::object::IsA;
use glib::translate::*; use glib::translate::*;
use glib_ffi;
use gobject_ffi; use gobject_ffi;
use std::mem;
use std::ptr;
glib_wrapper! { glib_wrapper! {
pub struct DeviceMonitor(Object<ffi::GstDeviceMonitor>): Object; pub struct DeviceMonitor(Object<ffi::GstDeviceMonitor>): Object;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (7504fb6) from gir-files (???) // This file was generated by gir (a4dcfea) from gir-files (???)
// DO NOT EDIT // DO NOT EDIT
use Bus; use Bus;
@ -13,9 +13,12 @@ use glib::object::IsA;
use glib::signal::connect; use glib::signal::connect;
use glib::translate::*; use glib::translate::*;
use glib_ffi; use glib_ffi;
use gobject_ffi;
use libc; use libc;
use std::boxed::Box as Box_; use std::boxed::Box as Box_;
use std::mem;
use std::mem::transmute; use std::mem::transmute;
use std::ptr;
glib_wrapper! { glib_wrapper! {
pub struct DeviceProvider(Object<ffi::GstDeviceProvider>): Object; pub struct DeviceProvider(Object<ffi::GstDeviceProvider>): Object;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (7504fb6) from gir-files (???) // This file was generated by gir (a4dcfea) from gir-files (???)
// DO NOT EDIT // DO NOT EDIT
use DeviceProvider; use DeviceProvider;
@ -7,6 +7,10 @@ use ffi;
use glib; use glib;
use glib::object::IsA; use glib::object::IsA;
use glib::translate::*; use glib::translate::*;
use glib_ffi;
use gobject_ffi;
use std::mem;
use std::ptr;
glib_wrapper! { glib_wrapper! {
pub struct DeviceProviderFactory(Object<ffi::GstDeviceProviderFactory>): Object; pub struct DeviceProviderFactory(Object<ffi::GstDeviceProviderFactory>): Object;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (7504fb6) from gir-files (???) // This file was generated by gir (a4dcfea) from gir-files (???)
// DO NOT EDIT // DO NOT EDIT
use Bus; use Bus;
@ -26,6 +26,7 @@ use glib::object::IsA;
use glib::signal::connect; use glib::signal::connect;
use glib::translate::*; use glib::translate::*;
use glib_ffi; use glib_ffi;
use gobject_ffi;
#[cfg(feature = "v1_10")] #[cfg(feature = "v1_10")]
use libc; use libc;
use std::boxed::Box as Box_; use std::boxed::Box as Box_;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (7504fb6) from gir-files (???) // This file was generated by gir (a4dcfea) from gir-files (???)
// DO NOT EDIT // DO NOT EDIT
use Caps; use Caps;
@ -10,6 +10,10 @@ use URIType;
use ffi; use ffi;
use glib; use glib;
use glib::translate::*; use glib::translate::*;
use glib_ffi;
use gobject_ffi;
use std::mem;
use std::ptr;
glib_wrapper! { glib_wrapper! {
pub struct ElementFactory(Object<ffi::GstElementFactory>): Object; pub struct ElementFactory(Object<ffi::GstElementFactory>): Object;

View file

@ -1,9 +1,13 @@
// This file was generated by gir (7504fb6) from gir-files (???) // This file was generated by gir (a4dcfea) from gir-files (???)
// DO NOT EDIT // DO NOT EDIT
use ffi; use ffi;
use glib_ffi; use glib_ffi;
use glib::error::ErrorDomain; use glib::error::ErrorDomain;
use glib::Type;
use glib::StaticType;
use glib::value::{Value, SetValue, FromValue, FromValueOptional};
use gobject_ffi;
use glib::translate::*; use glib::translate::*;
use std; use std;
@ -46,6 +50,30 @@ impl FromGlib<ffi::GstBufferingMode> for BufferingMode {
} }
} }
impl StaticType for BufferingMode {
fn static_type() -> Type {
unsafe { from_glib(ffi::gst_buffering_mode_get_type()) }
}
}
impl<'a> FromValueOptional<'a> for BufferingMode {
unsafe fn from_value_optional(value: &Value) -> Option<Self> {
Some(FromValue::from_value(value))
}
}
impl<'a> FromValue<'a> for BufferingMode {
unsafe fn from_value(value: &Value) -> Self {
from_glib(std::mem::transmute::<i32, ffi::GstBufferingMode>(gobject_ffi::g_value_get_enum(value.to_glib_none().0)))
}
}
impl SetValue for BufferingMode {
unsafe fn set_value(value: &mut Value, this: &Self) {
gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib() as i32)
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)] #[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
pub enum BusSyncReply { pub enum BusSyncReply {
Drop, Drop,
@ -82,6 +110,30 @@ impl FromGlib<ffi::GstBusSyncReply> for BusSyncReply {
} }
} }
impl StaticType for BusSyncReply {
fn static_type() -> Type {
unsafe { from_glib(ffi::gst_bus_sync_reply_get_type()) }
}
}
impl<'a> FromValueOptional<'a> for BusSyncReply {
unsafe fn from_value_optional(value: &Value) -> Option<Self> {
Some(FromValue::from_value(value))
}
}
impl<'a> FromValue<'a> for BusSyncReply {
unsafe fn from_value(value: &Value) -> Self {
from_glib(std::mem::transmute::<i32, ffi::GstBusSyncReply>(gobject_ffi::g_value_get_enum(value.to_glib_none().0)))
}
}
impl SetValue for BusSyncReply {
unsafe fn set_value(value: &mut Value, this: &Self) {
gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib() as i32)
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)] #[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
pub enum CoreError { pub enum CoreError {
Failed, Failed,
@ -187,6 +239,30 @@ impl ErrorDomain for CoreError {
} }
} }
impl StaticType for CoreError {
fn static_type() -> Type {
unsafe { from_glib(ffi::gst_core_error_get_type()) }
}
}
impl<'a> FromValueOptional<'a> for CoreError {
unsafe fn from_value_optional(value: &Value) -> Option<Self> {
Some(FromValue::from_value(value))
}
}
impl<'a> FromValue<'a> for CoreError {
unsafe fn from_value(value: &Value) -> Self {
from_glib(std::mem::transmute::<i32, ffi::GstCoreError>(gobject_ffi::g_value_get_enum(value.to_glib_none().0)))
}
}
impl SetValue for CoreError {
unsafe fn set_value(value: &mut Value, this: &Self) {
gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib() as i32)
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)] #[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
pub enum FlowReturn { pub enum FlowReturn {
CustomSuccess2, CustomSuccess2,
@ -253,6 +329,30 @@ impl FromGlib<ffi::GstFlowReturn> for FlowReturn {
} }
} }
impl StaticType for FlowReturn {
fn static_type() -> Type {
unsafe { from_glib(ffi::gst_flow_return_get_type()) }
}
}
impl<'a> FromValueOptional<'a> for FlowReturn {
unsafe fn from_value_optional(value: &Value) -> Option<Self> {
Some(FromValue::from_value(value))
}
}
impl<'a> FromValue<'a> for FlowReturn {
unsafe fn from_value(value: &Value) -> Self {
from_glib(std::mem::transmute::<i32, ffi::GstFlowReturn>(gobject_ffi::g_value_get_enum(value.to_glib_none().0)))
}
}
impl SetValue for FlowReturn {
unsafe fn set_value(value: &mut Value, this: &Self) {
gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib() as i32)
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)] #[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
pub enum Format { pub enum Format {
Undefined, Undefined,
@ -298,6 +398,30 @@ impl FromGlib<ffi::GstFormat> for Format {
} }
} }
impl StaticType for Format {
fn static_type() -> Type {
unsafe { from_glib(ffi::gst_format_get_type()) }
}
}
impl<'a> FromValueOptional<'a> for Format {
unsafe fn from_value_optional(value: &Value) -> Option<Self> {
Some(FromValue::from_value(value))
}
}
impl<'a> FromValue<'a> for Format {
unsafe fn from_value(value: &Value) -> Self {
from_glib(std::mem::transmute::<i32, ffi::GstFormat>(gobject_ffi::g_value_get_enum(value.to_glib_none().0)))
}
}
impl SetValue for Format {
unsafe fn set_value(value: &mut Value, this: &Self) {
gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib() as i32)
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)] #[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
pub enum LibraryError { pub enum LibraryError {
Failed, Failed,
@ -371,6 +495,30 @@ impl ErrorDomain for LibraryError {
} }
} }
impl StaticType for LibraryError {
fn static_type() -> Type {
unsafe { from_glib(ffi::gst_library_error_get_type()) }
}
}
impl<'a> FromValueOptional<'a> for LibraryError {
unsafe fn from_value_optional(value: &Value) -> Option<Self> {
Some(FromValue::from_value(value))
}
}
impl<'a> FromValue<'a> for LibraryError {
unsafe fn from_value(value: &Value) -> Self {
from_glib(std::mem::transmute::<i32, ffi::GstLibraryError>(gobject_ffi::g_value_get_enum(value.to_glib_none().0)))
}
}
impl SetValue for LibraryError {
unsafe fn set_value(value: &mut Value, this: &Self) {
gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib() as i32)
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)] #[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
pub enum PadDirection { pub enum PadDirection {
Unknown, Unknown,
@ -407,6 +555,30 @@ impl FromGlib<ffi::GstPadDirection> for PadDirection {
} }
} }
impl StaticType for PadDirection {
fn static_type() -> Type {
unsafe { from_glib(ffi::gst_pad_direction_get_type()) }
}
}
impl<'a> FromValueOptional<'a> for PadDirection {
unsafe fn from_value_optional(value: &Value) -> Option<Self> {
Some(FromValue::from_value(value))
}
}
impl<'a> FromValue<'a> for PadDirection {
unsafe fn from_value(value: &Value) -> Self {
from_glib(std::mem::transmute::<i32, ffi::GstPadDirection>(gobject_ffi::g_value_get_enum(value.to_glib_none().0)))
}
}
impl SetValue for PadDirection {
unsafe fn set_value(value: &mut Value, this: &Self) {
gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib() as i32)
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)] #[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
pub enum PadLinkReturn { pub enum PadLinkReturn {
Ok, Ok,
@ -455,6 +627,30 @@ impl FromGlib<ffi::GstPadLinkReturn> for PadLinkReturn {
} }
} }
impl StaticType for PadLinkReturn {
fn static_type() -> Type {
unsafe { from_glib(ffi::gst_pad_link_return_get_type()) }
}
}
impl<'a> FromValueOptional<'a> for PadLinkReturn {
unsafe fn from_value_optional(value: &Value) -> Option<Self> {
Some(FromValue::from_value(value))
}
}
impl<'a> FromValue<'a> for PadLinkReturn {
unsafe fn from_value(value: &Value) -> Self {
from_glib(std::mem::transmute::<i32, ffi::GstPadLinkReturn>(gobject_ffi::g_value_get_enum(value.to_glib_none().0)))
}
}
impl SetValue for PadLinkReturn {
unsafe fn set_value(value: &mut Value, this: &Self) {
gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib() as i32)
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)] #[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
pub enum PadPresence { pub enum PadPresence {
Always, Always,
@ -491,6 +687,30 @@ impl FromGlib<ffi::GstPadPresence> for PadPresence {
} }
} }
impl StaticType for PadPresence {
fn static_type() -> Type {
unsafe { from_glib(ffi::gst_pad_presence_get_type()) }
}
}
impl<'a> FromValueOptional<'a> for PadPresence {
unsafe fn from_value_optional(value: &Value) -> Option<Self> {
Some(FromValue::from_value(value))
}
}
impl<'a> FromValue<'a> for PadPresence {
unsafe fn from_value(value: &Value) -> Self {
from_glib(std::mem::transmute::<i32, ffi::GstPadPresence>(gobject_ffi::g_value_get_enum(value.to_glib_none().0)))
}
}
impl SetValue for PadPresence {
unsafe fn set_value(value: &mut Value, this: &Self) {
gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib() as i32)
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)] #[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
pub enum ParseError { pub enum ParseError {
Syntax, Syntax,
@ -568,6 +788,30 @@ impl ErrorDomain for ParseError {
} }
} }
impl StaticType for ParseError {
fn static_type() -> Type {
unsafe { from_glib(ffi::gst_parse_error_get_type()) }
}
}
impl<'a> FromValueOptional<'a> for ParseError {
unsafe fn from_value_optional(value: &Value) -> Option<Self> {
Some(FromValue::from_value(value))
}
}
impl<'a> FromValue<'a> for ParseError {
unsafe fn from_value(value: &Value) -> Self {
from_glib(std::mem::transmute::<i32, ffi::GstParseError>(gobject_ffi::g_value_get_enum(value.to_glib_none().0)))
}
}
impl SetValue for ParseError {
unsafe fn set_value(value: &mut Value, this: &Self) {
gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib() as i32)
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)] #[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
pub enum PluginError { pub enum PluginError {
Module, Module,
@ -625,6 +869,30 @@ impl ErrorDomain for PluginError {
} }
} }
impl StaticType for PluginError {
fn static_type() -> Type {
unsafe { from_glib(ffi::gst_plugin_error_get_type()) }
}
}
impl<'a> FromValueOptional<'a> for PluginError {
unsafe fn from_value_optional(value: &Value) -> Option<Self> {
Some(FromValue::from_value(value))
}
}
impl<'a> FromValue<'a> for PluginError {
unsafe fn from_value(value: &Value) -> Self {
from_glib(std::mem::transmute::<i32, ffi::GstPluginError>(gobject_ffi::g_value_get_enum(value.to_glib_none().0)))
}
}
impl SetValue for PluginError {
unsafe fn set_value(value: &mut Value, this: &Self) {
gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib() as i32)
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)] #[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
pub enum ProgressType { pub enum ProgressType {
Start, Start,
@ -667,6 +935,30 @@ impl FromGlib<ffi::GstProgressType> for ProgressType {
} }
} }
impl StaticType for ProgressType {
fn static_type() -> Type {
unsafe { from_glib(ffi::gst_progress_type_get_type()) }
}
}
impl<'a> FromValueOptional<'a> for ProgressType {
unsafe fn from_value_optional(value: &Value) -> Option<Self> {
Some(FromValue::from_value(value))
}
}
impl<'a> FromValue<'a> for ProgressType {
unsafe fn from_value(value: &Value) -> Self {
from_glib(std::mem::transmute::<i32, ffi::GstProgressType>(gobject_ffi::g_value_get_enum(value.to_glib_none().0)))
}
}
impl SetValue for ProgressType {
unsafe fn set_value(value: &mut Value, this: &Self) {
gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib() as i32)
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)] #[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
pub enum ResourceError { pub enum ResourceError {
Failed, Failed,
@ -776,6 +1068,30 @@ impl ErrorDomain for ResourceError {
} }
} }
impl StaticType for ResourceError {
fn static_type() -> Type {
unsafe { from_glib(ffi::gst_resource_error_get_type()) }
}
}
impl<'a> FromValueOptional<'a> for ResourceError {
unsafe fn from_value_optional(value: &Value) -> Option<Self> {
Some(FromValue::from_value(value))
}
}
impl<'a> FromValue<'a> for ResourceError {
unsafe fn from_value(value: &Value) -> Self {
from_glib(std::mem::transmute::<i32, ffi::GstResourceError>(gobject_ffi::g_value_get_enum(value.to_glib_none().0)))
}
}
impl SetValue for ResourceError {
unsafe fn set_value(value: &mut Value, this: &Self) {
gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib() as i32)
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)] #[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
pub enum SeekType { pub enum SeekType {
None, None,
@ -812,6 +1128,30 @@ impl FromGlib<ffi::GstSeekType> for SeekType {
} }
} }
impl StaticType for SeekType {
fn static_type() -> Type {
unsafe { from_glib(ffi::gst_seek_type_get_type()) }
}
}
impl<'a> FromValueOptional<'a> for SeekType {
unsafe fn from_value_optional(value: &Value) -> Option<Self> {
Some(FromValue::from_value(value))
}
}
impl<'a> FromValue<'a> for SeekType {
unsafe fn from_value(value: &Value) -> Self {
from_glib(std::mem::transmute::<i32, ffi::GstSeekType>(gobject_ffi::g_value_get_enum(value.to_glib_none().0)))
}
}
impl SetValue for SeekType {
unsafe fn set_value(value: &mut Value, this: &Self) {
gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib() as i32)
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)] #[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
pub enum State { pub enum State {
VoidPending, VoidPending,
@ -854,6 +1194,30 @@ impl FromGlib<ffi::GstState> for State {
} }
} }
impl StaticType for State {
fn static_type() -> Type {
unsafe { from_glib(ffi::gst_state_get_type()) }
}
}
impl<'a> FromValueOptional<'a> for State {
unsafe fn from_value_optional(value: &Value) -> Option<Self> {
Some(FromValue::from_value(value))
}
}
impl<'a> FromValue<'a> for State {
unsafe fn from_value(value: &Value) -> Self {
from_glib(std::mem::transmute::<i32, ffi::GstState>(gobject_ffi::g_value_get_enum(value.to_glib_none().0)))
}
}
impl SetValue for State {
unsafe fn set_value(value: &mut Value, this: &Self) {
gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib() as i32)
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)] #[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
pub enum StateChange { pub enum StateChange {
NullToReady, NullToReady,
@ -899,6 +1263,30 @@ impl FromGlib<ffi::GstStateChange> for StateChange {
} }
} }
impl StaticType for StateChange {
fn static_type() -> Type {
unsafe { from_glib(ffi::gst_state_change_get_type()) }
}
}
impl<'a> FromValueOptional<'a> for StateChange {
unsafe fn from_value_optional(value: &Value) -> Option<Self> {
Some(FromValue::from_value(value))
}
}
impl<'a> FromValue<'a> for StateChange {
unsafe fn from_value(value: &Value) -> Self {
from_glib(std::mem::transmute::<i32, ffi::GstStateChange>(gobject_ffi::g_value_get_enum(value.to_glib_none().0)))
}
}
impl SetValue for StateChange {
unsafe fn set_value(value: &mut Value, this: &Self) {
gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib() as i32)
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)] #[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
pub enum StateChangeReturn { pub enum StateChangeReturn {
Failure, Failure,
@ -938,6 +1326,30 @@ impl FromGlib<ffi::GstStateChangeReturn> for StateChangeReturn {
} }
} }
impl StaticType for StateChangeReturn {
fn static_type() -> Type {
unsafe { from_glib(ffi::gst_state_change_return_get_type()) }
}
}
impl<'a> FromValueOptional<'a> for StateChangeReturn {
unsafe fn from_value_optional(value: &Value) -> Option<Self> {
Some(FromValue::from_value(value))
}
}
impl<'a> FromValue<'a> for StateChangeReturn {
unsafe fn from_value(value: &Value) -> Self {
from_glib(std::mem::transmute::<i32, ffi::GstStateChangeReturn>(gobject_ffi::g_value_get_enum(value.to_glib_none().0)))
}
}
impl SetValue for StateChangeReturn {
unsafe fn set_value(value: &mut Value, this: &Self) {
gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib() as i32)
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)] #[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
pub enum StreamError { pub enum StreamError {
Failed, Failed,
@ -1039,6 +1451,30 @@ impl ErrorDomain for StreamError {
} }
} }
impl StaticType for StreamError {
fn static_type() -> Type {
unsafe { from_glib(ffi::gst_stream_error_get_type()) }
}
}
impl<'a> FromValueOptional<'a> for StreamError {
unsafe fn from_value_optional(value: &Value) -> Option<Self> {
Some(FromValue::from_value(value))
}
}
impl<'a> FromValue<'a> for StreamError {
unsafe fn from_value(value: &Value) -> Self {
from_glib(std::mem::transmute::<i32, ffi::GstStreamError>(gobject_ffi::g_value_get_enum(value.to_glib_none().0)))
}
}
impl SetValue for StreamError {
unsafe fn set_value(value: &mut Value, this: &Self) {
gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib() as i32)
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)] #[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
pub enum StreamStatusType { pub enum StreamStatusType {
Create, Create,
@ -1087,6 +1523,30 @@ impl FromGlib<ffi::GstStreamStatusType> for StreamStatusType {
} }
} }
impl StaticType for StreamStatusType {
fn static_type() -> Type {
unsafe { from_glib(ffi::gst_stream_status_type_get_type()) }
}
}
impl<'a> FromValueOptional<'a> for StreamStatusType {
unsafe fn from_value_optional(value: &Value) -> Option<Self> {
Some(FromValue::from_value(value))
}
}
impl<'a> FromValue<'a> for StreamStatusType {
unsafe fn from_value(value: &Value) -> Self {
from_glib(std::mem::transmute::<i32, ffi::GstStreamStatusType>(gobject_ffi::g_value_get_enum(value.to_glib_none().0)))
}
}
impl SetValue for StreamStatusType {
unsafe fn set_value(value: &mut Value, this: &Self) {
gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib() as i32)
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)] #[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
pub enum StructureChangeType { pub enum StructureChangeType {
Link, Link,
@ -1120,6 +1580,30 @@ impl FromGlib<ffi::GstStructureChangeType> for StructureChangeType {
} }
} }
impl StaticType for StructureChangeType {
fn static_type() -> Type {
unsafe { from_glib(ffi::gst_structure_change_type_get_type()) }
}
}
impl<'a> FromValueOptional<'a> for StructureChangeType {
unsafe fn from_value_optional(value: &Value) -> Option<Self> {
Some(FromValue::from_value(value))
}
}
impl<'a> FromValue<'a> for StructureChangeType {
unsafe fn from_value(value: &Value) -> Self {
from_glib(std::mem::transmute::<i32, ffi::GstStructureChangeType>(gobject_ffi::g_value_get_enum(value.to_glib_none().0)))
}
}
impl SetValue for StructureChangeType {
unsafe fn set_value(value: &mut Value, this: &Self) {
gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib() as i32)
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)] #[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
pub enum TagMergeMode { pub enum TagMergeMode {
Undefined, Undefined,
@ -1171,6 +1655,30 @@ impl FromGlib<ffi::GstTagMergeMode> for TagMergeMode {
} }
} }
impl StaticType for TagMergeMode {
fn static_type() -> Type {
unsafe { from_glib(ffi::gst_tag_merge_mode_get_type()) }
}
}
impl<'a> FromValueOptional<'a> for TagMergeMode {
unsafe fn from_value_optional(value: &Value) -> Option<Self> {
Some(FromValue::from_value(value))
}
}
impl<'a> FromValue<'a> for TagMergeMode {
unsafe fn from_value(value: &Value) -> Self {
from_glib(std::mem::transmute::<i32, ffi::GstTagMergeMode>(gobject_ffi::g_value_get_enum(value.to_glib_none().0)))
}
}
impl SetValue for TagMergeMode {
unsafe fn set_value(value: &mut Value, this: &Self) {
gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib() as i32)
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)] #[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
pub enum URIError { pub enum URIError {
UnsupportedProtocol, UnsupportedProtocol,
@ -1232,6 +1740,30 @@ impl ErrorDomain for URIError {
} }
} }
impl StaticType for URIError {
fn static_type() -> Type {
unsafe { from_glib(ffi::gst_uri_error_get_type()) }
}
}
impl<'a> FromValueOptional<'a> for URIError {
unsafe fn from_value_optional(value: &Value) -> Option<Self> {
Some(FromValue::from_value(value))
}
}
impl<'a> FromValue<'a> for URIError {
unsafe fn from_value(value: &Value) -> Self {
from_glib(std::mem::transmute::<i32, ffi::GstURIError>(gobject_ffi::g_value_get_enum(value.to_glib_none().0)))
}
}
impl SetValue for URIError {
unsafe fn set_value(value: &mut Value, this: &Self) {
gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib() as i32)
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)] #[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
pub enum URIType { pub enum URIType {
Unknown, Unknown,
@ -1268,3 +1800,27 @@ impl FromGlib<ffi::GstURIType> for URIType {
} }
} }
impl StaticType for URIType {
fn static_type() -> Type {
unsafe { from_glib(ffi::gst_uri_type_get_type()) }
}
}
impl<'a> FromValueOptional<'a> for URIType {
unsafe fn from_value_optional(value: &Value) -> Option<Self> {
Some(FromValue::from_value(value))
}
}
impl<'a> FromValue<'a> for URIType {
unsafe fn from_value(value: &Value) -> Self {
from_glib(std::mem::transmute::<i32, ffi::GstURIType>(gobject_ffi::g_value_get_enum(value.to_glib_none().0)))
}
}
impl SetValue for URIType {
unsafe fn set_value(value: &mut Value, this: &Self) {
gobject_ffi::g_value_set_enum(value.to_glib_none_mut().0, this.to_glib() as i32)
}
}

View file

@ -1,7 +1,11 @@
// This file was generated by gir (7504fb6) from gir-files (???) // This file was generated by gir (a4dcfea) from gir-files (???)
// DO NOT EDIT // DO NOT EDIT
use ffi; use ffi;
use glib::Type;
use glib::StaticType;
use glib::value::{Value, SetValue, FromValue, FromValueOptional};
use gobject_ffi;
use glib::translate::*; use glib::translate::*;
bitflags! { bitflags! {
@ -38,6 +42,30 @@ impl FromGlib<ffi::GstSeekFlags> for SeekFlags {
} }
} }
impl StaticType for SeekFlags {
fn static_type() -> Type {
unsafe { from_glib(ffi::gst_seek_flags_get_type()) }
}
}
impl<'a> FromValueOptional<'a> for SeekFlags {
unsafe fn from_value_optional(value: &Value) -> Option<Self> {
Some(FromValue::from_value(value))
}
}
impl<'a> FromValue<'a> for SeekFlags {
unsafe fn from_value(value: &Value) -> Self {
from_glib(ffi::GstSeekFlags::from_bits_truncate(gobject_ffi::g_value_get_flags(value.to_glib_none().0)))
}
}
impl SetValue for SeekFlags {
unsafe fn set_value(value: &mut Value, this: &Self) {
gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib().bits())
}
}
bitflags! { bitflags! {
pub struct StreamFlags: u32 { pub struct StreamFlags: u32 {
const STREAM_FLAG_NONE = 0; const STREAM_FLAG_NONE = 0;
@ -64,6 +92,30 @@ impl FromGlib<ffi::GstStreamFlags> for StreamFlags {
} }
} }
impl StaticType for StreamFlags {
fn static_type() -> Type {
unsafe { from_glib(ffi::gst_stream_flags_get_type()) }
}
}
impl<'a> FromValueOptional<'a> for StreamFlags {
unsafe fn from_value_optional(value: &Value) -> Option<Self> {
Some(FromValue::from_value(value))
}
}
impl<'a> FromValue<'a> for StreamFlags {
unsafe fn from_value(value: &Value) -> Self {
from_glib(ffi::GstStreamFlags::from_bits_truncate(gobject_ffi::g_value_get_flags(value.to_glib_none().0)))
}
}
impl SetValue for StreamFlags {
unsafe fn set_value(value: &mut Value, this: &Self) {
gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib().bits())
}
}
bitflags! { bitflags! {
pub struct StreamType: u32 { pub struct StreamType: u32 {
const STREAM_TYPE_UNKNOWN = 1; const STREAM_TYPE_UNKNOWN = 1;
@ -91,3 +143,27 @@ impl FromGlib<ffi::GstStreamType> for StreamType {
} }
} }
impl StaticType for StreamType {
fn static_type() -> Type {
unsafe { from_glib(ffi::gst_stream_type_get_type()) }
}
}
impl<'a> FromValueOptional<'a> for StreamType {
unsafe fn from_value_optional(value: &Value) -> Option<Self> {
Some(FromValue::from_value(value))
}
}
impl<'a> FromValue<'a> for StreamType {
unsafe fn from_value(value: &Value) -> Self {
from_glib(ffi::GstStreamType::from_bits_truncate(gobject_ffi::g_value_get_flags(value.to_glib_none().0)))
}
}
impl SetValue for StreamType {
unsafe fn set_value(value: &mut Value, this: &Self) {
gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib().bits())
}
}

View file

@ -1,4 +1,4 @@
// This file was generated by gir (7504fb6) from gir-files (???) // This file was generated by gir (a4dcfea) from gir-files (???)
// DO NOT EDIT // DO NOT EDIT
use Bin; use Bin;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (7504fb6) from gir-files (???) // This file was generated by gir (a4dcfea) from gir-files (???)
// DO NOT EDIT // DO NOT EDIT
mod bin; mod bin;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (7504fb6) from gir-files (???) // This file was generated by gir (a4dcfea) from gir-files (???)
// DO NOT EDIT // DO NOT EDIT
use ClockTime; use ClockTime;
@ -7,6 +7,10 @@ use ffi;
use glib; use glib;
use glib::object::IsA; use glib::object::IsA;
use glib::translate::*; use glib::translate::*;
use glib_ffi;
use gobject_ffi;
use std::mem;
use std::ptr;
glib_wrapper! { glib_wrapper! {
pub struct Object(Object<ffi::GstObject>); pub struct Object(Object<ffi::GstObject>);

View file

@ -1,4 +1,4 @@
// This file was generated by gir (7504fb6) from gir-files (???) // This file was generated by gir (a4dcfea) from gir-files (???)
// DO NOT EDIT // DO NOT EDIT
use Caps; use Caps;
@ -24,6 +24,7 @@ use libc;
use std::boxed::Box as Box_; use std::boxed::Box as Box_;
use std::mem; use std::mem;
use std::mem::transmute; use std::mem::transmute;
use std::ptr;
glib_wrapper! { glib_wrapper! {
pub struct Pad(Object<ffi::GstPad>): Object; pub struct Pad(Object<ffi::GstPad>): Object;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (7504fb6) from gir-files (???) // This file was generated by gir (a4dcfea) from gir-files (???)
// DO NOT EDIT // DO NOT EDIT
use Caps; use Caps;
@ -16,7 +16,9 @@ use glib::translate::*;
use glib_ffi; use glib_ffi;
use gobject_ffi; use gobject_ffi;
use std::boxed::Box as Box_; use std::boxed::Box as Box_;
use std::mem;
use std::mem::transmute; use std::mem::transmute;
use std::ptr;
glib_wrapper! { glib_wrapper! {
pub struct PadTemplate(Object<ffi::GstPadTemplate>): Object; pub struct PadTemplate(Object<ffi::GstPadTemplate>): Object;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (7504fb6) from gir-files (???) // This file was generated by gir (a4dcfea) from gir-files (???)
// DO NOT EDIT // DO NOT EDIT
use Bin; use Bin;
@ -10,6 +10,10 @@ use ffi;
use glib::object::Downcast; use glib::object::Downcast;
use glib::object::IsA; use glib::object::IsA;
use glib::translate::*; use glib::translate::*;
use glib_ffi;
use gobject_ffi;
use std::mem;
use std::ptr;
glib_wrapper! { glib_wrapper! {
pub struct Pipeline(Object<ffi::GstPipeline>): Bin, Element, Object; pub struct Pipeline(Object<ffi::GstPipeline>): Bin, Element, Object;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (7504fb6) from gir-files (???) // This file was generated by gir (a4dcfea) from gir-files (???)
// DO NOT EDIT // DO NOT EDIT
use Error; use Error;
@ -6,6 +6,9 @@ use Object;
use Structure; use Structure;
use ffi; use ffi;
use glib::translate::*; use glib::translate::*;
use glib_ffi;
use gobject_ffi;
use std::mem;
use std::ptr; use std::ptr;
glib_wrapper! { glib_wrapper! {

View file

@ -1,4 +1,4 @@
// This file was generated by gir (7504fb6) from gir-files (???) // This file was generated by gir (a4dcfea) from gir-files (???)
// DO NOT EDIT // DO NOT EDIT
#[cfg(feature = "v1_10")] #[cfg(feature = "v1_10")]
@ -11,8 +11,11 @@ use glib;
use glib::Value; use glib::Value;
use glib::object::IsA; use glib::object::IsA;
use glib::translate::*; use glib::translate::*;
use glib_ffi;
use gobject_ffi; use gobject_ffi;
use std::mem;
use std::mem::transmute; use std::mem::transmute;
use std::ptr;
glib_wrapper! { glib_wrapper! {
pub struct Stream(Object<ffi::GstStream>): Object; pub struct Stream(Object<ffi::GstStream>): Object;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (7504fb6) from gir-files (???) // This file was generated by gir (a4dcfea) from gir-files (???)
// DO NOT EDIT // DO NOT EDIT
use Object; use Object;
@ -9,7 +9,10 @@ use glib;
use glib::Value; use glib::Value;
use glib::object::IsA; use glib::object::IsA;
use glib::translate::*; use glib::translate::*;
use glib_ffi;
use gobject_ffi; use gobject_ffi;
use std::mem;
use std::ptr;
glib_wrapper! { glib_wrapper! {
pub struct StreamCollection(Object<ffi::GstStreamCollection>): Object; pub struct StreamCollection(Object<ffi::GstStreamCollection>): Object;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (7504fb6) from gir-files (???) // This file was generated by gir (a4dcfea) from gir-files (???)
// DO NOT EDIT // DO NOT EDIT
use Error; use Error;
@ -6,6 +6,9 @@ use URIType;
use ffi; use ffi;
use glib::object::IsA; use glib::object::IsA;
use glib::translate::*; use glib::translate::*;
use glib_ffi;
use gobject_ffi;
use std::mem;
use std::ptr; use std::ptr;
glib_wrapper! { glib_wrapper! {