mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-25 19:11:06 +00:00
Regenerate everything with latest gir
This commit is contained in:
parent
771b5c8094
commit
b14f0278c1
15 changed files with 31 additions and 19 deletions
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (531f8d9) from gir-files (???)
|
// This file was generated by gir (33e9567) from gir-files (???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
pub type ClockTime = u64;
|
pub type ClockTime = u64;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (531f8d9) from gir-files (???)
|
// This file was generated by gir (33e9567) from gir-files (???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
use Element;
|
use Element;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (531f8d9) from gir-files (???)
|
// This file was generated by gir (33e9567) from gir-files (???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
use Object;
|
use Object;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (531f8d9) from gir-files (???)
|
// This file was generated by gir (33e9567) from gir-files (???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
use ClockTime;
|
use ClockTime;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (531f8d9) from gir-files (???)
|
// This file was generated by gir (33e9567) from gir-files (???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
use Bus;
|
use Bus;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (531f8d9) from gir-files (???)
|
// This file was generated by gir (33e9567) from gir-files (???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
use Element;
|
use Element;
|
||||||
|
@ -42,6 +42,9 @@ impl ElementFactory {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
unsafe impl Send for ElementFactory {}
|
||||||
|
unsafe impl Sync for ElementFactory {}
|
||||||
|
|
||||||
pub trait ElementFactoryExt {
|
pub trait ElementFactoryExt {
|
||||||
//fn can_sink_all_caps(&self, caps: /*Ignored*/&Caps) -> bool;
|
//fn can_sink_all_caps(&self, caps: /*Ignored*/&Caps) -> bool;
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (531f8d9) from gir-files (???)
|
// This file was generated by gir (33e9567) from gir-files (???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
use ffi;
|
use ffi;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (531f8d9) from gir-files (???)
|
// This file was generated by gir (33e9567) from gir-files (???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
use ffi;
|
use ffi;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (531f8d9) from gir-files (???)
|
// This file was generated by gir (33e9567) from gir-files (???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
use Bin;
|
use Bin;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (531f8d9) from gir-files (???)
|
// This file was generated by gir (33e9567) from gir-files (???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
mod bin;
|
mod bin;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (531f8d9) from gir-files (???)
|
// This file was generated by gir (33e9567) from gir-files (???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
use ClockTime;
|
use ClockTime;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (531f8d9) from gir-files (???)
|
// This file was generated by gir (33e9567) from gir-files (???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
use Element;
|
use Element;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (531f8d9) from gir-files (???)
|
// This file was generated by gir (33e9567) from gir-files (???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
use Object;
|
use Object;
|
||||||
|
@ -30,6 +30,9 @@ impl PadTemplate {
|
||||||
//}
|
//}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
unsafe impl Send for PadTemplate {}
|
||||||
|
unsafe impl Sync for PadTemplate {}
|
||||||
|
|
||||||
pub trait PadTemplateExt {
|
pub trait PadTemplateExt {
|
||||||
//fn get_caps(&self) -> /*Ignored*/Option<Caps>;
|
//fn get_caps(&self) -> /*Ignored*/Option<Caps>;
|
||||||
|
|
||||||
|
@ -41,7 +44,7 @@ pub trait PadTemplateExt {
|
||||||
|
|
||||||
//fn get_property_presence(&self) -> /*Ignored*/PadPresence;
|
//fn get_property_presence(&self) -> /*Ignored*/PadPresence;
|
||||||
|
|
||||||
fn connect_pad_created<F: Fn(&Self, &Pad) + 'static>(&self, f: F) -> u64;
|
fn connect_pad_created<F: Fn(&Self, &Pad) + Send + Sync + 'static>(&self, f: F) -> u64;
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<O: IsA<PadTemplate> + IsA<glib::object::Object>> PadTemplateExt for O {
|
impl<O: IsA<PadTemplate> + IsA<glib::object::Object>> PadTemplateExt for O {
|
||||||
|
@ -79,9 +82,9 @@ impl<O: IsA<PadTemplate> + IsA<glib::object::Object>> PadTemplateExt for O {
|
||||||
// }
|
// }
|
||||||
//}
|
//}
|
||||||
|
|
||||||
fn connect_pad_created<F: Fn(&Self, &Pad) + 'static>(&self, f: F) -> u64 {
|
fn connect_pad_created<F: Fn(&Self, &Pad) + Send + Sync + 'static>(&self, f: F) -> u64 {
|
||||||
unsafe {
|
unsafe {
|
||||||
let f: Box_<Box_<Fn(&Self, &Pad) + 'static>> = Box_::new(Box_::new(f));
|
let f: Box_<Box_<Fn(&Self, &Pad) + Send + Sync + 'static>> = Box_::new(Box_::new(f));
|
||||||
connect(self.to_glib_none().0, "pad-created",
|
connect(self.to_glib_none().0, "pad-created",
|
||||||
transmute(pad_created_trampoline::<Self> as usize), Box_::into_raw(f) as *mut _)
|
transmute(pad_created_trampoline::<Self> as usize), Box_::into_raw(f) as *mut _)
|
||||||
}
|
}
|
||||||
|
@ -91,6 +94,6 @@ impl<O: IsA<PadTemplate> + IsA<glib::object::Object>> PadTemplateExt for O {
|
||||||
unsafe extern "C" fn pad_created_trampoline<P>(this: *mut ffi::GstPadTemplate, pad: *mut ffi::GstPad, f: glib_ffi::gpointer)
|
unsafe extern "C" fn pad_created_trampoline<P>(this: *mut ffi::GstPadTemplate, pad: *mut ffi::GstPad, f: glib_ffi::gpointer)
|
||||||
where P: IsA<PadTemplate> {
|
where P: IsA<PadTemplate> {
|
||||||
callback_guard!();
|
callback_guard!();
|
||||||
let f: &Box_<Fn(&P, &Pad) + 'static> = transmute(f);
|
let f: &Box_<Fn(&P, &Pad) + Send + Sync + 'static> = transmute(f);
|
||||||
f(&PadTemplate::from_glib_none(this).downcast_unchecked(), &from_glib_none(pad))
|
f(&PadTemplate::from_glib_none(this).downcast_unchecked(), &from_glib_none(pad))
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (531f8d9) from gir-files (???)
|
// This file was generated by gir (33e9567) from gir-files (???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
use Bin;
|
use Bin;
|
||||||
|
@ -29,6 +29,9 @@ impl Pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
unsafe impl Send for Pipeline {}
|
||||||
|
unsafe impl Sync for Pipeline {}
|
||||||
|
|
||||||
pub trait PipelineExt {
|
pub trait PipelineExt {
|
||||||
fn auto_clock(&self);
|
fn auto_clock(&self);
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (531f8d9) from gir-files (???)
|
// This file was generated by gir (33e9567) from gir-files (???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
use Error;
|
use Error;
|
||||||
|
@ -16,6 +16,9 @@ glib_wrapper! {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
unsafe impl Send for URIHandler {}
|
||||||
|
unsafe impl Sync for URIHandler {}
|
||||||
|
|
||||||
pub trait URIHandlerExt {
|
pub trait URIHandlerExt {
|
||||||
fn get_protocols(&self) -> Vec<String>;
|
fn get_protocols(&self) -> Vec<String>;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue