Regenerate everything with latest GIR

This commit is contained in:
Sebastian Dröge 2018-02-06 16:42:34 +02:00
parent ac31688fbd
commit 6d0d7a3df8
77 changed files with 134 additions and 241 deletions

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
use ffi;
@ -146,8 +146,7 @@ impl AppSink {
pub fn get_property_buffer_list(&self) -> bool {
unsafe {
let mut value = Value::uninitialized();
gobject_ffi::g_value_init(value.to_glib_none_mut().0, <bool as StaticType>::static_type().to_glib());
let mut value = Value::from_type(<bool as StaticType>::static_type());
gobject_ffi::g_object_get_property(self.to_glib_none().0, "buffer-list".to_glib_none().0, value.to_glib_none_mut().0);
value.get().unwrap()
}
@ -161,8 +160,7 @@ impl AppSink {
pub fn get_property_eos(&self) -> bool {
unsafe {
let mut value = Value::uninitialized();
gobject_ffi::g_value_init(value.to_glib_none_mut().0, <bool as StaticType>::static_type().to_glib());
let mut value = Value::from_type(<bool as StaticType>::static_type());
gobject_ffi::g_object_get_property(self.to_glib_none().0, "eos".to_glib_none().0, value.to_glib_none_mut().0);
value.get().unwrap()
}

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
use AppStreamType;
@ -134,8 +134,7 @@ impl AppSrc {
pub fn get_property_block(&self) -> bool {
unsafe {
let mut value = Value::uninitialized();
gobject_ffi::g_value_init(value.to_glib_none_mut().0, <bool as StaticType>::static_type().to_glib());
let mut value = Value::from_type(<bool as StaticType>::static_type());
gobject_ffi::g_object_get_property(self.to_glib_none().0, "block".to_glib_none().0, value.to_glib_none_mut().0);
value.get().unwrap()
}
@ -147,19 +146,9 @@ impl AppSrc {
}
}
pub fn get_property_current_level_bytes(&self) -> u64 {
unsafe {
let mut value = Value::uninitialized();
gobject_ffi::g_value_init(value.to_glib_none_mut().0, <u64 as StaticType>::static_type().to_glib());
gobject_ffi::g_object_get_property(self.to_glib_none().0, "current-level-bytes".to_glib_none().0, value.to_glib_none_mut().0);
value.get().unwrap()
}
}
pub fn get_property_duration(&self) -> u64 {
unsafe {
let mut value = Value::uninitialized();
gobject_ffi::g_value_init(value.to_glib_none_mut().0, <u64 as StaticType>::static_type().to_glib());
let mut value = Value::from_type(<u64 as StaticType>::static_type());
gobject_ffi::g_object_get_property(self.to_glib_none().0, "duration".to_glib_none().0, value.to_glib_none_mut().0);
value.get().unwrap()
}
@ -173,8 +162,7 @@ impl AppSrc {
pub fn get_property_format(&self) -> gst::Format {
unsafe {
let mut value = Value::uninitialized();
gobject_ffi::g_value_init(value.to_glib_none_mut().0, <gst::Format as StaticType>::static_type().to_glib());
let mut value = Value::from_type(<gst::Format as StaticType>::static_type());
gobject_ffi::g_object_get_property(self.to_glib_none().0, "format".to_glib_none().0, value.to_glib_none_mut().0);
value.get().unwrap()
}
@ -188,8 +176,7 @@ impl AppSrc {
pub fn get_property_is_live(&self) -> bool {
unsafe {
let mut value = Value::uninitialized();
gobject_ffi::g_value_init(value.to_glib_none_mut().0, <bool as StaticType>::static_type().to_glib());
let mut value = Value::from_type(<bool as StaticType>::static_type());
gobject_ffi::g_object_get_property(self.to_glib_none().0, "is-live".to_glib_none().0, value.to_glib_none_mut().0);
value.get().unwrap()
}
@ -203,8 +190,7 @@ impl AppSrc {
pub fn get_property_max_latency(&self) -> i64 {
unsafe {
let mut value = Value::uninitialized();
gobject_ffi::g_value_init(value.to_glib_none_mut().0, <i64 as StaticType>::static_type().to_glib());
let mut value = Value::from_type(<i64 as StaticType>::static_type());
gobject_ffi::g_object_get_property(self.to_glib_none().0, "max-latency".to_glib_none().0, value.to_glib_none_mut().0);
value.get().unwrap()
}
@ -218,8 +204,7 @@ impl AppSrc {
pub fn get_property_min_latency(&self) -> i64 {
unsafe {
let mut value = Value::uninitialized();
gobject_ffi::g_value_init(value.to_glib_none_mut().0, <i64 as StaticType>::static_type().to_glib());
let mut value = Value::from_type(<i64 as StaticType>::static_type());
gobject_ffi::g_object_get_property(self.to_glib_none().0, "min-latency".to_glib_none().0, value.to_glib_none_mut().0);
value.get().unwrap()
}
@ -233,8 +218,7 @@ impl AppSrc {
pub fn get_property_min_percent(&self) -> u32 {
unsafe {
let mut value = Value::uninitialized();
gobject_ffi::g_value_init(value.to_glib_none_mut().0, <u32 as StaticType>::static_type().to_glib());
let mut value = Value::from_type(<u32 as StaticType>::static_type());
gobject_ffi::g_object_get_property(self.to_glib_none().0, "min-percent".to_glib_none().0, value.to_glib_none_mut().0);
value.get().unwrap()
}

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
use ffi;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
use ffi;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
mod app_sink;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
use ffi;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
use ffi;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
mod stream_volume;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
use StreamVolumeFormat;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
use ffi;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
use ffi;
@ -315,8 +315,7 @@ impl<O: IsA<BaseSink> + IsA<glib::object::Object>> BaseSinkExt for O {
fn get_property_async(&self) -> bool {
unsafe {
let mut value = Value::uninitialized();
gobject_ffi::g_value_init(value.to_glib_none_mut().0, <bool as StaticType>::static_type().to_glib());
let mut value = Value::from_type(<bool as StaticType>::static_type());
gobject_ffi::g_object_get_property(self.to_glib_none().0, "async".to_glib_none().0, value.to_glib_none_mut().0);
value.get().unwrap()
}
@ -330,8 +329,7 @@ impl<O: IsA<BaseSink> + IsA<glib::object::Object>> BaseSinkExt for O {
fn get_property_enable_last_sample(&self) -> bool {
unsafe {
let mut value = Value::uninitialized();
gobject_ffi::g_value_init(value.to_glib_none_mut().0, <bool as StaticType>::static_type().to_glib());
let mut value = Value::from_type(<bool as StaticType>::static_type());
gobject_ffi::g_object_get_property(self.to_glib_none().0, "enable-last-sample".to_glib_none().0, value.to_glib_none_mut().0);
value.get().unwrap()
}
@ -345,8 +343,7 @@ impl<O: IsA<BaseSink> + IsA<glib::object::Object>> BaseSinkExt for O {
fn get_property_qos(&self) -> bool {
unsafe {
let mut value = Value::uninitialized();
gobject_ffi::g_value_init(value.to_glib_none_mut().0, <bool as StaticType>::static_type().to_glib());
let mut value = Value::from_type(<bool as StaticType>::static_type());
gobject_ffi::g_object_get_property(self.to_glib_none().0, "qos".to_glib_none().0, value.to_glib_none_mut().0);
value.get().unwrap()
}

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
use ffi;
@ -206,8 +206,7 @@ impl<O: IsA<BaseSrc> + IsA<glib::object::Object>> BaseSrcExt for O {
fn get_property_num_buffers(&self) -> i32 {
unsafe {
let mut value = Value::uninitialized();
gobject_ffi::g_value_init(value.to_glib_none_mut().0, <i32 as StaticType>::static_type().to_glib());
let mut value = Value::from_type(<i32 as StaticType>::static_type());
gobject_ffi::g_object_get_property(self.to_glib_none().0, "num-buffers".to_glib_none().0, value.to_glib_none_mut().0);
value.get().unwrap()
}
@ -221,8 +220,7 @@ impl<O: IsA<BaseSrc> + IsA<glib::object::Object>> BaseSrcExt for O {
fn get_property_typefind(&self) -> bool {
unsafe {
let mut value = Value::uninitialized();
gobject_ffi::g_value_init(value.to_glib_none_mut().0, <bool as StaticType>::static_type().to_glib());
let mut value = Value::from_type(<bool as StaticType>::static_type());
gobject_ffi::g_object_get_property(self.to_glib_none().0, "typefind".to_glib_none().0, value.to_glib_none_mut().0);
value.get().unwrap()
}

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
use ffi;
@ -152,8 +152,7 @@ impl<O: IsA<BaseTransform> + IsA<glib::object::Object>> BaseTransformExt for O {
fn get_property_qos(&self) -> bool {
unsafe {
let mut value = Value::uninitialized();
gobject_ffi::g_value_init(value.to_glib_none_mut().0, <bool as StaticType>::static_type().to_glib());
let mut value = Value::from_type(<bool as StaticType>::static_type());
gobject_ffi::g_object_get_property(self.to_glib_none().0, "qos".to_glib_none().0, value.to_glib_none_mut().0);
value.get().unwrap()
}

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
use ffi;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
use ffi;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
use ffi;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
mod adapter;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
use BaseSrc;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
use ffi;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
use ffi;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
mod net_client_clock;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
use ffi;
@ -40,8 +40,7 @@ impl NetClientClock {
pub fn get_property_address(&self) -> Option<String> {
unsafe {
let mut value = Value::uninitialized();
gobject_ffi::g_value_init(value.to_glib_none_mut().0, <String as StaticType>::static_type().to_glib());
let mut value = Value::from_type(<String as StaticType>::static_type());
gobject_ffi::g_object_get_property(self.to_glib_none().0, "address".to_glib_none().0, value.to_glib_none_mut().0);
value.get()
}
@ -55,8 +54,7 @@ impl NetClientClock {
pub fn get_property_base_time(&self) -> u64 {
unsafe {
let mut value = Value::uninitialized();
gobject_ffi::g_value_init(value.to_glib_none_mut().0, <u64 as StaticType>::static_type().to_glib());
let mut value = Value::from_type(<u64 as StaticType>::static_type());
gobject_ffi::g_object_get_property(self.to_glib_none().0, "base-time".to_glib_none().0, value.to_glib_none_mut().0);
value.get().unwrap()
}
@ -64,8 +62,7 @@ impl NetClientClock {
pub fn get_property_bus(&self) -> Option<gst::Bus> {
unsafe {
let mut value = Value::uninitialized();
gobject_ffi::g_value_init(value.to_glib_none_mut().0, <gst::Bus as StaticType>::static_type().to_glib());
let mut value = Value::from_type(<gst::Bus as StaticType>::static_type());
gobject_ffi::g_object_get_property(self.to_glib_none().0, "bus".to_glib_none().0, value.to_glib_none_mut().0);
value.get()
}
@ -79,8 +76,7 @@ impl NetClientClock {
pub fn get_property_internal_clock(&self) -> Option<gst::Clock> {
unsafe {
let mut value = Value::uninitialized();
gobject_ffi::g_value_init(value.to_glib_none_mut().0, <gst::Clock as StaticType>::static_type().to_glib());
let mut value = Value::from_type(<gst::Clock as StaticType>::static_type());
gobject_ffi::g_object_get_property(self.to_glib_none().0, "internal-clock".to_glib_none().0, value.to_glib_none_mut().0);
value.get()
}
@ -88,8 +84,7 @@ impl NetClientClock {
pub fn get_property_minimum_update_interval(&self) -> u64 {
unsafe {
let mut value = Value::uninitialized();
gobject_ffi::g_value_init(value.to_glib_none_mut().0, <u64 as StaticType>::static_type().to_glib());
let mut value = Value::from_type(<u64 as StaticType>::static_type());
gobject_ffi::g_object_get_property(self.to_glib_none().0, "minimum-update-interval".to_glib_none().0, value.to_glib_none_mut().0);
value.get().unwrap()
}
@ -103,8 +98,7 @@ impl NetClientClock {
pub fn get_property_port(&self) -> i32 {
unsafe {
let mut value = Value::uninitialized();
gobject_ffi::g_value_init(value.to_glib_none_mut().0, <i32 as StaticType>::static_type().to_glib());
let mut value = Value::from_type(<i32 as StaticType>::static_type());
gobject_ffi::g_object_get_property(self.to_glib_none().0, "port".to_glib_none().0, value.to_glib_none_mut().0);
value.get().unwrap()
}
@ -118,8 +112,7 @@ impl NetClientClock {
pub fn get_property_round_trip_limit(&self) -> u64 {
unsafe {
let mut value = Value::uninitialized();
gobject_ffi::g_value_init(value.to_glib_none_mut().0, <u64 as StaticType>::static_type().to_glib());
let mut value = Value::from_type(<u64 as StaticType>::static_type());
gobject_ffi::g_object_get_property(self.to_glib_none().0, "round-trip-limit".to_glib_none().0, value.to_glib_none_mut().0);
value.get().unwrap()
}

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
use ffi;
@ -39,8 +39,7 @@ impl NetTimeProvider {
pub fn get_property_active(&self) -> bool {
unsafe {
let mut value = Value::uninitialized();
gobject_ffi::g_value_init(value.to_glib_none_mut().0, <bool as StaticType>::static_type().to_glib());
let mut value = Value::from_type(<bool as StaticType>::static_type());
gobject_ffi::g_object_get_property(self.to_glib_none().0, "active".to_glib_none().0, value.to_glib_none_mut().0);
value.get().unwrap()
}
@ -54,8 +53,7 @@ impl NetTimeProvider {
pub fn get_property_address(&self) -> Option<String> {
unsafe {
let mut value = Value::uninitialized();
gobject_ffi::g_value_init(value.to_glib_none_mut().0, <String as StaticType>::static_type().to_glib());
let mut value = Value::from_type(<String as StaticType>::static_type());
gobject_ffi::g_object_get_property(self.to_glib_none().0, "address".to_glib_none().0, value.to_glib_none_mut().0);
value.get()
}
@ -63,8 +61,7 @@ impl NetTimeProvider {
pub fn get_property_clock(&self) -> Option<gst::Clock> {
unsafe {
let mut value = Value::uninitialized();
gobject_ffi::g_value_init(value.to_glib_none_mut().0, <gst::Clock as StaticType>::static_type().to_glib());
let mut value = Value::from_type(<gst::Clock as StaticType>::static_type());
gobject_ffi::g_object_get_property(self.to_glib_none().0, "clock".to_glib_none().0, value.to_glib_none_mut().0);
value.get()
}
@ -72,8 +69,7 @@ impl NetTimeProvider {
pub fn get_property_port(&self) -> i32 {
unsafe {
let mut value = Value::uninitialized();
gobject_ffi::g_value_init(value.to_glib_none_mut().0, <i32 as StaticType>::static_type().to_glib());
let mut value = Value::from_type(<i32 as StaticType>::static_type());
gobject_ffi::g_object_get_property(self.to_glib_none().0, "port".to_glib_none().0, value.to_glib_none_mut().0);
value.get().unwrap()
}

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
use NetClientClock;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
use ffi;
@ -40,8 +40,7 @@ impl PtpClock {
pub fn get_property_domain(&self) -> u32 {
unsafe {
let mut value = Value::uninitialized();
gobject_ffi::g_value_init(value.to_glib_none_mut().0, <u32 as StaticType>::static_type().to_glib());
let mut value = Value::from_type(<u32 as StaticType>::static_type());
gobject_ffi::g_object_get_property(self.to_glib_none().0, "domain".to_glib_none().0, value.to_glib_none_mut().0);
value.get().unwrap()
}
@ -49,8 +48,7 @@ impl PtpClock {
pub fn get_property_grandmaster_clock_id(&self) -> u64 {
unsafe {
let mut value = Value::uninitialized();
gobject_ffi::g_value_init(value.to_glib_none_mut().0, <u64 as StaticType>::static_type().to_glib());
let mut value = Value::from_type(<u64 as StaticType>::static_type());
gobject_ffi::g_object_get_property(self.to_glib_none().0, "grandmaster-clock-id".to_glib_none().0, value.to_glib_none_mut().0);
value.get().unwrap()
}
@ -58,8 +56,7 @@ impl PtpClock {
pub fn get_property_internal_clock(&self) -> Option<gst::Clock> {
unsafe {
let mut value = Value::uninitialized();
gobject_ffi::g_value_init(value.to_glib_none_mut().0, <gst::Clock as StaticType>::static_type().to_glib());
let mut value = Value::from_type(<gst::Clock as StaticType>::static_type());
gobject_ffi::g_object_get_property(self.to_glib_none().0, "internal-clock".to_glib_none().0, value.to_glib_none_mut().0);
value.get()
}
@ -67,8 +64,7 @@ impl PtpClock {
pub fn get_property_master_clock_id(&self) -> u64 {
unsafe {
let mut value = Value::uninitialized();
gobject_ffi::g_value_init(value.to_glib_none_mut().0, <u64 as StaticType>::static_type().to_glib());
let mut value = Value::from_type(<u64 as StaticType>::static_type());
gobject_ffi::g_object_get_property(self.to_glib_none().0, "master-clock-id".to_glib_none().0, value.to_glib_none_mut().0);
value.get().unwrap()
}

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
use ffi;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
use ffi;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
mod player;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
use Error;
@ -285,8 +285,7 @@ impl Player {
pub fn get_property_suburi(&self) -> Option<String> {
unsafe {
let mut value = Value::uninitialized();
gobject_ffi::g_value_init(value.to_glib_none_mut().0, <String as StaticType>::static_type().to_glib());
let mut value = Value::from_type(<String as StaticType>::static_type());
gobject_ffi::g_object_get_property(self.to_glib_none().0, "suburi".to_glib_none().0, value.to_glib_none_mut().0);
value.get()
}
@ -300,8 +299,7 @@ impl Player {
pub fn get_property_video_multiview_flags(&self) -> gst_video::VideoMultiviewFlags {
unsafe {
let mut value = Value::uninitialized();
gobject_ffi::g_value_init(value.to_glib_none_mut().0, <gst_video::VideoMultiviewFlags as StaticType>::static_type().to_glib());
let mut value = Value::from_type(<gst_video::VideoMultiviewFlags as StaticType>::static_type());
gobject_ffi::g_object_get_property(self.to_glib_none().0, "video-multiview-flags".to_glib_none().0, value.to_glib_none_mut().0);
value.get().unwrap()
}
@ -315,8 +313,7 @@ impl Player {
pub fn get_property_video_multiview_mode(&self) -> gst_video::VideoMultiviewFramePacking {
unsafe {
let mut value = Value::uninitialized();
gobject_ffi::g_value_init(value.to_glib_none_mut().0, <gst_video::VideoMultiviewFramePacking as StaticType>::static_type().to_glib());
let mut value = Value::from_type(<gst_video::VideoMultiviewFramePacking as StaticType>::static_type());
gobject_ffi::g_object_get_property(self.to_glib_none().0, "video-multiview-mode".to_glib_none().0, value.to_glib_none_mut().0);
value.get().unwrap()
}

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
use PlayerStreamInfo;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
use PlayerSignalDispatcher;
@ -27,8 +27,7 @@ glib_wrapper! {
impl PlayerGMainContextSignalDispatcher {
pub fn get_property_application_context(&self) -> Option<glib::MainContext> {
unsafe {
let mut value = Value::uninitialized();
gobject_ffi::g_value_init(value.to_glib_none_mut().0, <glib::MainContext as StaticType>::static_type().to_glib());
let mut value = Value::from_type(<glib::MainContext as StaticType>::static_type());
gobject_ffi::g_object_get_property(self.to_glib_none().0, "application-context".to_glib_none().0, value.to_glib_none_mut().0);
value.get()
}

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
use PlayerAudioInfo;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
use ffi;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
use ffi;
@ -36,31 +36,31 @@ pub trait PlayerStreamInfoExt {
impl<O: IsA<PlayerStreamInfo>> PlayerStreamInfoExt for O {
fn get_caps(&self) -> Option<gst::Caps> {
unsafe {
from_glib_none(ffi::gst_player_stream_info_get_caps(self.to_glib_none().0))
from_glib_none(ffi::gst_player_stream_info_get_caps(const_override(self.to_glib_none().0)))
}
}
fn get_codec(&self) -> Option<String> {
unsafe {
from_glib_none(ffi::gst_player_stream_info_get_codec(self.to_glib_none().0))
from_glib_none(ffi::gst_player_stream_info_get_codec(const_override(self.to_glib_none().0)))
}
}
fn get_index(&self) -> i32 {
unsafe {
ffi::gst_player_stream_info_get_index(self.to_glib_none().0)
ffi::gst_player_stream_info_get_index(const_override(self.to_glib_none().0))
}
}
fn get_stream_type(&self) -> String {
unsafe {
from_glib_none(ffi::gst_player_stream_info_get_stream_type(self.to_glib_none().0))
from_glib_none(ffi::gst_player_stream_info_get_stream_type(const_override(self.to_glib_none().0)))
}
}
fn get_tags(&self) -> Option<gst::TagList> {
unsafe {
from_glib_none(ffi::gst_player_stream_info_get_tags(self.to_glib_none().0))
from_glib_none(ffi::gst_player_stream_info_get_tags(const_override(self.to_glib_none().0)))
}
}
}

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
use PlayerStreamInfo;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
use PlayerStreamInfo;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
use PlayerVideoRenderer;
@ -60,8 +60,7 @@ impl PlayerVideoOverlayVideoRenderer {
pub fn get_property_video_sink(&self) -> Option<gst::Element> {
unsafe {
let mut value = Value::uninitialized();
gobject_ffi::g_value_init(value.to_glib_none_mut().0, <gst::Element as StaticType>::static_type().to_glib());
let mut value = Value::from_type(<gst::Element as StaticType>::static_type());
gobject_ffi::g_object_get_property(self.to_glib_none().0, "video-sink".to_glib_none().0, value.to_glib_none_mut().0);
value.get()
}

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
use ffi;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
use ffi;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
use ffi;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
use ffi;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
mod video_filter;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
use ffi;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
use ffi;

View file

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

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
use ChildProxy;
@ -207,8 +207,7 @@ impl<O: IsA<Bin> + IsA<glib::object::Object>> BinExt for O {
fn get_property_async_handling(&self) -> bool {
unsafe {
let mut value = Value::uninitialized();
gobject_ffi::g_value_init(value.to_glib_none_mut().0, <bool as StaticType>::static_type().to_glib());
let mut value = Value::from_type(<bool as StaticType>::static_type());
gobject_ffi::g_object_get_property(self.to_glib_none().0, "async-handling".to_glib_none().0, value.to_glib_none_mut().0);
value.get().unwrap()
}
@ -222,8 +221,7 @@ impl<O: IsA<Bin> + IsA<glib::object::Object>> BinExt for O {
fn get_property_message_forward(&self) -> bool {
unsafe {
let mut value = Value::uninitialized();
gobject_ffi::g_value_init(value.to_glib_none_mut().0, <bool as StaticType>::static_type().to_glib());
let mut value = Value::from_type(<bool as StaticType>::static_type());
gobject_ffi::g_object_get_property(self.to_glib_none().0, "message-forward".to_glib_none().0, value.to_glib_none_mut().0);
value.get().unwrap()
}

View file

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

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
use ffi;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
use ClockTime;
@ -256,8 +256,7 @@ impl<O: IsA<Clock> + IsA<glib::object::Object>> ClockExt for O {
fn get_property_window_size(&self) -> i32 {
unsafe {
let mut value = Value::uninitialized();
gobject_ffi::g_value_init(value.to_glib_none_mut().0, <i32 as StaticType>::static_type().to_glib());
let mut value = Value::from_type(<i32 as StaticType>::static_type());
gobject_ffi::g_object_get_property(self.to_glib_none().0, "window-size".to_glib_none().0, value.to_glib_none_mut().0);
value.get().unwrap()
}
@ -271,8 +270,7 @@ impl<O: IsA<Clock> + IsA<glib::object::Object>> ClockExt for O {
fn get_property_window_threshold(&self) -> i32 {
unsafe {
let mut value = Value::uninitialized();
gobject_ffi::g_value_init(value.to_glib_none_mut().0, <i32 as StaticType>::static_type().to_glib());
let mut value = Value::from_type(<i32 as StaticType>::static_type());
gobject_ffi::g_object_get_property(self.to_glib_none().0, "window-threshold".to_glib_none().0, value.to_glib_none_mut().0);
value.get().unwrap()
}

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
use ffi;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
use Caps;
@ -7,8 +7,6 @@ use Object;
use Structure;
use ffi;
use glib;
use glib::StaticType;
use glib::Value;
use glib::object::Downcast;
use glib::object::IsA;
use glib::signal::SignalHandlerId;
@ -49,14 +47,6 @@ pub trait DeviceExt {
fn reconfigure_element<P: IsA<Element>>(&self, element: &P) -> bool;
fn get_property_caps(&self) -> Option<Caps>;
fn get_property_device_class(&self) -> Option<String>;
fn get_property_display_name(&self) -> Option<String>;
fn get_property_properties(&self) -> Option<Structure>;
fn connect_removed<F: Fn(&Self) + Send + Sync + 'static>(&self, f: F) -> SignalHandlerId;
fn connect_property_caps_notify<F: Fn(&Self) + Send + Sync + 'static>(&self, f: F) -> SignalHandlerId;
@ -119,42 +109,6 @@ impl<O: IsA<Device> + IsA<glib::object::Object>> DeviceExt for O {
}
}
fn get_property_caps(&self) -> Option<Caps> {
unsafe {
let mut value = Value::uninitialized();
gobject_ffi::g_value_init(value.to_glib_none_mut().0, <Caps as StaticType>::static_type().to_glib());
gobject_ffi::g_object_get_property(self.to_glib_none().0, "caps".to_glib_none().0, value.to_glib_none_mut().0);
value.get()
}
}
fn get_property_device_class(&self) -> Option<String> {
unsafe {
let mut value = Value::uninitialized();
gobject_ffi::g_value_init(value.to_glib_none_mut().0, <String as StaticType>::static_type().to_glib());
gobject_ffi::g_object_get_property(self.to_glib_none().0, "device-class".to_glib_none().0, value.to_glib_none_mut().0);
value.get()
}
}
fn get_property_display_name(&self) -> Option<String> {
unsafe {
let mut value = Value::uninitialized();
gobject_ffi::g_value_init(value.to_glib_none_mut().0, <String as StaticType>::static_type().to_glib());
gobject_ffi::g_object_get_property(self.to_glib_none().0, "display-name".to_glib_none().0, value.to_glib_none_mut().0);
value.get()
}
}
fn get_property_properties(&self) -> Option<Structure> {
unsafe {
let mut value = Value::uninitialized();
gobject_ffi::g_value_init(value.to_glib_none_mut().0, <Structure as StaticType>::static_type().to_glib());
gobject_ffi::g_object_get_property(self.to_glib_none().0, "properties".to_glib_none().0, value.to_glib_none_mut().0);
value.get()
}
}
fn connect_removed<F: Fn(&Self) + Send + Sync + 'static>(&self, f: F) -> SignalHandlerId {
unsafe {
let f: Box_<Box_<Fn(&Self) + Send + Sync + 'static>> = Box_::new(Box_::new(f));

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
use Bus;
@ -134,8 +134,7 @@ impl<O: IsA<DeviceMonitor> + IsA<glib::object::Object>> DeviceMonitorExt for O {
fn get_property_show_all(&self) -> bool {
unsafe {
let mut value = Value::uninitialized();
gobject_ffi::g_value_init(value.to_glib_none_mut().0, <bool as StaticType>::static_type().to_glib());
let mut value = Value::from_type(<bool as StaticType>::static_type());
gobject_ffi::g_object_get_property(self.to_glib_none().0, "show-all".to_glib_none().0, value.to_glib_none_mut().0);
value.get().unwrap()
}

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
use Bus;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
use DeviceProvider;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
use Bus;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
use Caps;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
use ffi;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
use ffi;

View file

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

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
use Object;

View file

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

View file

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

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
use Caps;
@ -538,8 +538,7 @@ impl<O: IsA<Pad> + IsA<glib::object::Object>> PadExt for O {
fn get_property_caps(&self) -> Option<Caps> {
unsafe {
let mut value = Value::uninitialized();
gobject_ffi::g_value_init(value.to_glib_none_mut().0, <Caps as StaticType>::static_type().to_glib());
let mut value = Value::from_type(<Caps as StaticType>::static_type());
gobject_ffi::g_object_get_property(self.to_glib_none().0, "caps".to_glib_none().0, value.to_glib_none_mut().0);
value.get()
}
@ -547,8 +546,7 @@ impl<O: IsA<Pad> + IsA<glib::object::Object>> PadExt for O {
fn get_property_template(&self) -> Option<PadTemplate> {
unsafe {
let mut value = Value::uninitialized();
gobject_ffi::g_value_init(value.to_glib_none_mut().0, <PadTemplate as StaticType>::static_type().to_glib());
let mut value = Value::from_type(<PadTemplate as StaticType>::static_type());
gobject_ffi::g_object_get_property(self.to_glib_none().0, "template".to_glib_none().0, value.to_glib_none_mut().0);
value.get()
}

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
use Caps;
@ -50,8 +50,7 @@ impl PadTemplate {
pub fn get_property_direction(&self) -> PadDirection {
unsafe {
let mut value = Value::uninitialized();
gobject_ffi::g_value_init(value.to_glib_none_mut().0, <PadDirection as StaticType>::static_type().to_glib());
let mut value = Value::from_type(<PadDirection as StaticType>::static_type());
gobject_ffi::g_object_get_property(self.to_glib_none().0, "direction".to_glib_none().0, value.to_glib_none_mut().0);
value.get().unwrap()
}
@ -59,8 +58,7 @@ impl PadTemplate {
pub fn get_property_name_template(&self) -> Option<String> {
unsafe {
let mut value = Value::uninitialized();
gobject_ffi::g_value_init(value.to_glib_none_mut().0, <String as StaticType>::static_type().to_glib());
let mut value = Value::from_type(<String as StaticType>::static_type());
gobject_ffi::g_object_get_property(self.to_glib_none().0, "name-template".to_glib_none().0, value.to_glib_none_mut().0);
value.get()
}
@ -68,8 +66,7 @@ impl PadTemplate {
pub fn get_property_presence(&self) -> PadPresence {
unsafe {
let mut value = Value::uninitialized();
gobject_ffi::g_value_init(value.to_glib_none_mut().0, <PadPresence as StaticType>::static_type().to_glib());
let mut value = Value::from_type(<PadPresence as StaticType>::static_type());
gobject_ffi::g_object_get_property(self.to_glib_none().0, "presence".to_glib_none().0, value.to_glib_none_mut().0);
value.get().unwrap()
}

View file

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

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
use Error;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
use Object;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
use ffi;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
use Object;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
use Object;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
use Caps;
@ -109,8 +109,7 @@ impl Stream {
pub fn get_property_caps(&self) -> Option<Caps> {
unsafe {
let mut value = Value::uninitialized();
gobject_ffi::g_value_init(value.to_glib_none_mut().0, <Caps as StaticType>::static_type().to_glib());
let mut value = Value::from_type(<Caps as StaticType>::static_type());
gobject_ffi::g_object_get_property(self.to_glib_none().0, "caps".to_glib_none().0, value.to_glib_none_mut().0);
value.get()
}
@ -124,8 +123,7 @@ impl Stream {
pub fn get_property_stream_flags(&self) -> StreamFlags {
unsafe {
let mut value = Value::uninitialized();
gobject_ffi::g_value_init(value.to_glib_none_mut().0, <StreamFlags as StaticType>::static_type().to_glib());
let mut value = Value::from_type(<StreamFlags as StaticType>::static_type());
gobject_ffi::g_object_get_property(self.to_glib_none().0, "stream-flags".to_glib_none().0, value.to_glib_none_mut().0);
value.get().unwrap()
}
@ -139,8 +137,7 @@ impl Stream {
pub fn get_property_stream_id(&self) -> Option<String> {
unsafe {
let mut value = Value::uninitialized();
gobject_ffi::g_value_init(value.to_glib_none_mut().0, <String as StaticType>::static_type().to_glib());
let mut value = Value::from_type(<String as StaticType>::static_type());
gobject_ffi::g_object_get_property(self.to_glib_none().0, "stream-id".to_glib_none().0, value.to_glib_none_mut().0);
value.get()
}
@ -148,8 +145,7 @@ impl Stream {
pub fn get_property_stream_type(&self) -> StreamType {
unsafe {
let mut value = Value::uninitialized();
gobject_ffi::g_value_init(value.to_glib_none_mut().0, <StreamType as StaticType>::static_type().to_glib());
let mut value = Value::from_type(<StreamType as StaticType>::static_type());
gobject_ffi::g_object_get_property(self.to_glib_none().0, "stream-type".to_glib_none().0, value.to_glib_none_mut().0);
value.get().unwrap()
}
@ -163,8 +159,7 @@ impl Stream {
pub fn get_property_tags(&self) -> Option<TagList> {
unsafe {
let mut value = Value::uninitialized();
gobject_ffi::g_value_init(value.to_glib_none_mut().0, <TagList as StaticType>::static_type().to_glib());
let mut value = Value::from_type(<TagList as StaticType>::static_type());
gobject_ffi::g_object_get_property(self.to_glib_none().0, "tags".to_glib_none().0, value.to_glib_none_mut().0);
value.get()
}

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
use Object;
@ -66,8 +66,7 @@ impl StreamCollection {
pub fn get_property_upstream_id(&self) -> Option<String> {
unsafe {
let mut value = Value::uninitialized();
gobject_ffi::g_value_init(value.to_glib_none_mut().0, <String as StaticType>::static_type().to_glib());
let mut value = Value::from_type(<String as StaticType>::static_type());
gobject_ffi::g_object_get_property(self.to_glib_none().0, "upstream-id".to_glib_none().0, value.to_glib_none_mut().0);
value.get()
}

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
use Clock;
@ -60,8 +60,7 @@ pub trait SystemClockExt {
impl<O: IsA<SystemClock> + IsA<glib::object::Object>> SystemClockExt for O {
fn get_property_clock_type(&self) -> ClockType {
unsafe {
let mut value = Value::uninitialized();
gobject_ffi::g_value_init(value.to_glib_none_mut().0, <ClockType as StaticType>::static_type().to_glib());
let mut value = Value::from_type(<ClockType as StaticType>::static_type());
gobject_ffi::g_object_get_property(self.to_glib_none().0, "clock-type".to_glib_none().0, value.to_glib_none_mut().0);
value.get().unwrap()
}

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
use Element;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
use Element;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
use Caps;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (d50d839) from gir-files (???)
// This file was generated by gir (746446b) from gir-files (???)
// DO NOT EDIT
use Error;