Commit 91649b25 authored by Sebastian Dröge's avatar Sebastian Dröge 🍵

Regenerate with latest gir

parent 5e58998c
......@@ -8,7 +8,7 @@ dependencies = [
"gobject-sys 0.3.4 (git+https://github.com/gtk-rs/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)",
"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]]
......@@ -27,7 +27,7 @@ dependencies = [
[[package]]
name = "glib"
version = "0.1.3"
source = "git+https://github.com/gtk-rs/glib#aaad1963ea3b1b45c62a3f49a7a1ed0a7f3b12ab"
source = "git+https://github.com/gtk-rs/glib#96d1a5702553d6208f16585f9340e261a4c53559"
dependencies = [
"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)",
......@@ -39,7 +39,7 @@ dependencies = [
[[package]]
name = "glib-sys"
version = "0.3.4"
source = "git+https://github.com/gtk-rs/sys#9354d21dfdb9174bfecafbd75cf2a7c0c8ba5759"
source = "git+https://github.com/gtk-rs/sys#8c064a4e3eb514a9906eea3efe517e9706828b5f"
dependencies = [
"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)",
......@@ -49,7 +49,7 @@ dependencies = [
[[package]]
name = "gobject-sys"
version = "0.3.4"
source = "git+https://github.com/gtk-rs/sys#9354d21dfdb9174bfecafbd75cf2a7c0c8ba5759"
source = "git+https://github.com/gtk-rs/sys#8c064a4e3eb514a9906eea3efe517e9706828b5f"
dependencies = [
"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)",
......@@ -60,7 +60,7 @@ dependencies = [
[[package]]
name = "gstreamer-sys"
version = "0.1.1"
source = "git+https://github.com/sdroege/gstreamer-sys#fbadb070c6f05a39dc68c9f7adaf07aa52909fd8"
source = "git+https://github.com/sdroege/gstreamer-sys#fa326c86cb6b2a740e8980d191ec84ee3a861c60"
dependencies = [
"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)",
......@@ -81,24 +81,24 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "num-integer"
version = "0.1.34"
version = "0.1.35"
source = "registry+https://github.com/rust-lang/crates.io-index"
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]]
name = "num-rational"
version = "0.1.38"
version = "0.1.39"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"num-integer 0.1.34 (registry+https://github.com/rust-lang/crates.io-index)",
"num-traits 0.1.39 (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.40 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "num-traits"
version = "0.1.39"
version = "0.1.40"
source = "registry+https://github.com/rust-lang/crates.io-index"
[[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 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 num-integer 0.1.34 (registry+https://github.com/rust-lang/crates.io-index)" = "ef1a4bf6f9174aa5783a9b4cc892cacd11aebad6c69ad027a0b65c6ca5f8aa37"
"checksum num-rational 0.1.38 (registry+https://github.com/rust-lang/crates.io-index)" = "33c881e104a26e1accc09449374c095ff2312c8e0c27fab7bbefe16eac7c776d"
"checksum num-traits 0.1.39 (registry+https://github.com/rust-lang/crates.io-index)" = "1708c0628602a98b52fad936cf3edb9a107af06e52e49fdf0707e884456a6af6"
"checksum num-integer 0.1.35 (registry+https://github.com/rust-lang/crates.io-index)" = "d1452e8b06e448a07f0e6ebb0bb1d92b8890eea63288c0b627331d53514d0fba"
"checksum num-rational 0.1.39 (registry+https://github.com/rust-lang/crates.io-index)" = "288629c76fac4b33556f4b7ab57ba21ae202da65ba8b77466e6d598e31990790"
"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"
// This file was generated by gir (7504fb6) from gir-files (???)
// This file was generated by gir (a4dcfea) from gir-files (???)
// DO NOT EDIT
#[allow(unused_imports)]
......
// This file was generated by gir (7504fb6) from gir-files (???)
// This file was generated by gir (a4dcfea) from gir-files (???)
// DO NOT EDIT
use Element;
......@@ -15,7 +15,9 @@ use glib::translate::*;
use glib_ffi;
use gobject_ffi;
use std::boxed::Box as Box_;
use std::mem;
use std::mem::transmute;
use std::ptr;
glib_wrapper! {
pub struct Bin(Object<ffi::GstBin>): Element, Object;
......
// This file was generated by gir (7504fb6) from gir-files (???)
// This file was generated by gir (a4dcfea) from gir-files (???)
// DO NOT EDIT
use ClockTime;
......@@ -8,8 +8,11 @@ use ffi;
use glib::signal::connect;
use glib::translate::*;
use glib_ffi;
use gobject_ffi;
use std::boxed::Box as Box_;
use std::mem;
use std::mem::transmute;
use std::ptr;
glib_wrapper! {
pub struct Bus(Object<ffi::GstBus>): Object;
......
// This file was generated by gir (7504fb6) from gir-files (???)
// This file was generated by gir (a4dcfea) from gir-files (???)
// DO NOT EDIT
use ClockTime;
......
// This file was generated by gir (7504fb6) from gir-files (???)
// This file was generated by gir (a4dcfea) from gir-files (???)
// DO NOT EDIT
use Caps;
......@@ -15,7 +15,9 @@ use glib::translate::*;
use glib_ffi;
use gobject_ffi;
use std::boxed::Box as Box_;
use std::mem;
use std::mem::transmute;
use std::ptr;
glib_wrapper! {
pub struct Device(Object<ffi::GstDevice>): Object;
......
// This file was generated by gir (7504fb6) from gir-files (???)
// This file was generated by gir (a4dcfea) from gir-files (???)
// DO NOT EDIT
use Bus;
......@@ -10,7 +10,10 @@ use glib;
use glib::Value;
use glib::object::IsA;
use glib::translate::*;
use glib_ffi;
use gobject_ffi;
use std::mem;
use std::ptr;
glib_wrapper! {
pub struct DeviceMonitor(Object<ffi::GstDeviceMonitor>): Object;
......
// This file was generated by gir (7504fb6) from gir-files (???)
// This file was generated by gir (a4dcfea) from gir-files (???)
// DO NOT EDIT
use Bus;
......@@ -13,9 +13,12 @@ use glib::object::IsA;
use glib::signal::connect;
use glib::translate::*;
use glib_ffi;
use gobject_ffi;
use libc;
use std::boxed::Box as Box_;
use std::mem;
use std::mem::transmute;
use std::ptr;
glib_wrapper! {
pub struct DeviceProvider(Object<ffi::GstDeviceProvider>): Object;
......
// This file was generated by gir (7504fb6) from gir-files (???)
// This file was generated by gir (a4dcfea) from gir-files (???)
// DO NOT EDIT
use DeviceProvider;
......@@ -7,6 +7,10 @@ use ffi;
use glib;
use glib::object::IsA;
use glib::translate::*;
use glib_ffi;
use gobject_ffi;
use std::mem;
use std::ptr;
glib_wrapper! {
pub struct DeviceProviderFactory(Object<ffi::GstDeviceProviderFactory>): Object;
......
// This file was generated by gir (7504fb6) from gir-files (???)
// This file was generated by gir (a4dcfea) from gir-files (???)
// DO NOT EDIT
use Bus;
......@@ -26,6 +26,7 @@ use glib::object::IsA;
use glib::signal::connect;
use glib::translate::*;
use glib_ffi;
use gobject_ffi;
#[cfg(feature = "v1_10")]
use libc;
use std::boxed::Box as Box_;
......
// This file was generated by gir (7504fb6) from gir-files (???)
// This file was generated by gir (a4dcfea) from gir-files (???)
// DO NOT EDIT
use Caps;
......@@ -10,6 +10,10 @@ use URIType;
use ffi;
use glib;
use glib::translate::*;
use glib_ffi;
use gobject_ffi;
use std::mem;
use std::ptr;
glib_wrapper! {
pub struct ElementFactory(Object<ffi::GstElementFactory>): Object;
......
This diff is collapsed.
// This file was generated by gir (7504fb6) from gir-files (???)
// This file was generated by gir (a4dcfea) from gir-files (???)
// DO NOT EDIT
use ffi;
use glib::Type;
use glib::StaticType;
use glib::value::{Value, SetValue, FromValue, FromValueOptional};
use gobject_ffi;
use glib::translate::*;
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! {
pub struct StreamFlags: u32 {
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! {
pub struct StreamType: u32 {
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())
}
}
// This file was generated by gir (7504fb6) from gir-files (???)
// This file was generated by gir (a4dcfea) from gir-files (???)
// DO NOT EDIT
use Bin;
......
// This file was generated by gir (7504fb6) from gir-files (???)
// This file was generated by gir (a4dcfea) from gir-files (???)
// DO NOT EDIT
mod bin;
......
// This file was generated by gir (7504fb6) from gir-files (???)
// This file was generated by gir (a4dcfea) from gir-files (???)
// DO NOT EDIT
use ClockTime;
......@@ -7,6 +7,10 @@ use ffi;
use glib;
use glib::object::IsA;
use glib::translate::*;
use glib_ffi;
use gobject_ffi;
use std::mem;
use std::ptr;
glib_wrapper! {
pub struct Object(Object<ffi::GstObject>);
......
// This file was generated by gir (7504fb6) from gir-files (???)
// This file was generated by gir (a4dcfea) from gir-files (???)
// DO NOT EDIT
use Caps;
......@@ -24,6 +24,7 @@ use libc;
use std::boxed::Box as Box_;
use std::mem;
use std::mem::transmute;
use std::ptr;
glib_wrapper! {
pub struct Pad(Object<ffi::GstPad>): Object;
......
// This file was generated by gir (7504fb6) from gir-files (???)
// This file was generated by gir (a4dcfea) from gir-files (???)
// DO NOT EDIT
use Caps;
......@@ -16,7 +16,9 @@ use glib::translate::*;
use glib_ffi;
use gobject_ffi;
use std::boxed::Box as Box_;
use std::mem;
use std::mem::transmute;
use std::ptr;
glib_wrapper! {
pub struct PadTemplate(Object<ffi::GstPadTemplate>): Object;
......
// This file was generated by gir (7504fb6) from gir-files (???)
// This file was generated by gir (a4dcfea) from gir-files (???)
// DO NOT EDIT
use Bin;
......@@ -10,6 +10,10 @@ use ffi;
use glib::object::Downcast;
use glib::object::IsA;
use glib::translate::*;
use glib_ffi;
use gobject_ffi;
use std::mem;
use std::ptr;
glib_wrapper! {
pub struct Pipeline(Object<ffi::GstPipeline>): Bin, Element, Object;
......
// This file was generated by gir (7504fb6) from gir-files (???)
// This file was generated by gir (a4dcfea) from gir-files (???)
// DO NOT EDIT
use Error;
......@@ -6,6 +6,9 @@ use Object;
use Structure;
use ffi;
use glib::translate::*;
use glib_ffi;
use gobject_ffi;
use std::mem;
use std::ptr;
glib_wrapper! {
......
// This file was generated by gir (7504fb6) from gir-files (???)
// This file was generated by gir (a4dcfea) from gir-files (???)
// DO NOT EDIT
#[cfg(feature = "v1_10")]
......@@ -11,8 +11,11 @@ use glib;
use glib::Value;
use glib::object::IsA;
use glib::translate::*;
use glib_ffi;
use gobject_ffi;
use std::mem;
use std::mem::transmute;
use std::ptr;
glib_wrapper! {
pub struct Stream(Object<ffi::GstStream>): Object;
......
// This file was generated by gir (7504fb6) from gir-files (???)
// This file was generated by gir (a4dcfea) from gir-files (???)
// DO NOT EDIT
use Object;
......@@ -9,7 +9,10 @@ use glib;
use glib::Value;
use glib::object::IsA;
use glib::translate::*;
use glib_ffi;
use gobject_ffi;
use std::mem;
use std::ptr;
glib_wrapper! {
pub struct StreamCollection(Object<ffi::GstStreamCollection>): Object;
......
// This file was generated by gir (7504fb6) from gir-files (???)
// This file was generated by gir (a4dcfea) from gir-files (???)
// DO NOT EDIT
use Error;
......@@ -6,6 +6,9 @@ use URIType;
use ffi;
use glib::object::IsA;
use glib::translate::*;
use glib_ffi;
use gobject_ffi;
use std::mem;
use std::ptr;
glib_wrapper! {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment