mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-25 11:01:10 +00:00
Regenerate everything with latest gir
This commit is contained in:
parent
dab93d4334
commit
808ff293ec
116 changed files with 347 additions and 114 deletions
|
@ -804,6 +804,11 @@ status = "generate"
|
|||
[[object]]
|
||||
name = "Gst.*"
|
||||
status = "generate"
|
||||
# We'll opt-in for constants at a later time
|
||||
[[object.constant]]
|
||||
pattern = ".+"
|
||||
ignore = true
|
||||
|
||||
[[object.function]]
|
||||
name = "util_dump_mem"
|
||||
ignore = true
|
||||
|
|
|
@ -75,6 +75,10 @@ concurrency = "none"
|
|||
[[object]]
|
||||
name = "GstBase.*"
|
||||
status = "generate"
|
||||
# We'll opt-in for constants at a later time
|
||||
[[object.constant]]
|
||||
pattern = ".+"
|
||||
ignore = true
|
||||
|
||||
[[object.function]]
|
||||
name = "type_find_helper_for_data"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
@ -252,51 +252,61 @@ unsafe impl Send for AppSink {}
|
|||
unsafe impl Sync for AppSink {}
|
||||
|
||||
unsafe extern "C" fn eos_trampoline(this: *mut ffi::GstAppSink, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&AppSink) + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn new_preroll_trampoline(this: *mut ffi::GstAppSink, f: glib_ffi::gpointer) -> gst_ffi::GstFlowReturn {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&AppSink) -> gst::FlowReturn + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this)).to_glib()
|
||||
}
|
||||
|
||||
unsafe extern "C" fn new_sample_trampoline(this: *mut ffi::GstAppSink, f: glib_ffi::gpointer) -> gst_ffi::GstFlowReturn {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&AppSink) -> gst::FlowReturn + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this)).to_glib()
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_buffer_list_trampoline(this: *mut ffi::GstAppSink, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&AppSink) + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_caps_trampoline(this: *mut ffi::GstAppSink, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&AppSink) + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_drop_trampoline(this: *mut ffi::GstAppSink, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&AppSink) + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_emit_signals_trampoline(this: *mut ffi::GstAppSink, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&AppSink) + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_eos_trampoline(this: *mut ffi::GstAppSink, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&AppSink) + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_max_buffers_trampoline(this: *mut ffi::GstAppSink, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&AppSink) + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_wait_on_eos_trampoline(this: *mut ffi::GstAppSink, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&AppSink) + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this))
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
@ -364,81 +364,97 @@ unsafe impl Send for AppSrc {}
|
|||
unsafe impl Sync for AppSrc {}
|
||||
|
||||
unsafe extern "C" fn enough_data_trampoline(this: *mut ffi::GstAppSrc, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&AppSrc) + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn need_data_trampoline(this: *mut ffi::GstAppSrc, length: libc::c_uint, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&AppSrc, u32) + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this), length)
|
||||
}
|
||||
|
||||
unsafe extern "C" fn seek_data_trampoline(this: *mut ffi::GstAppSrc, offset: u64, f: glib_ffi::gpointer) -> glib_ffi::gboolean {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&AppSrc, u64) -> bool + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this), offset).to_glib()
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_block_trampoline(this: *mut ffi::GstAppSrc, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&AppSrc) + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_caps_trampoline(this: *mut ffi::GstAppSrc, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&AppSrc) + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_current_level_bytes_trampoline(this: *mut ffi::GstAppSrc, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&AppSrc) + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_duration_trampoline(this: *mut ffi::GstAppSrc, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&AppSrc) + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_emit_signals_trampoline(this: *mut ffi::GstAppSrc, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&AppSrc) + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_format_trampoline(this: *mut ffi::GstAppSrc, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&AppSrc) + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_is_live_trampoline(this: *mut ffi::GstAppSrc, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&AppSrc) + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_max_bytes_trampoline(this: *mut ffi::GstAppSrc, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&AppSrc) + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_max_latency_trampoline(this: *mut ffi::GstAppSrc, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&AppSrc) + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_min_latency_trampoline(this: *mut ffi::GstAppSrc, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&AppSrc) + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_min_percent_trampoline(this: *mut ffi::GstAppSrc, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&AppSrc) + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_size_trampoline(this: *mut ffi::GstAppSrc, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&AppSrc) + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_stream_type_trampoline(this: *mut ffi::GstAppSrc, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&AppSrc) + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this))
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
@ -95,12 +95,14 @@ impl<O: IsA<StreamVolume> + IsA<glib::object::Object>> StreamVolumeExt for O {
|
|||
|
||||
unsafe extern "C" fn notify_mute_trampoline<P>(this: *mut ffi::GstStreamVolume, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<StreamVolume> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&StreamVolume::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_volume_trampoline<P>(this: *mut ffi::GstStreamVolume, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<StreamVolume> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&StreamVolume::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
@ -447,66 +447,77 @@ impl<O: IsA<BaseSink> + IsA<glib::object::Object>> BaseSinkExt for O {
|
|||
|
||||
unsafe extern "C" fn notify_async_trampoline<P>(this: *mut ffi::GstBaseSink, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<BaseSink> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&BaseSink::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_blocksize_trampoline<P>(this: *mut ffi::GstBaseSink, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<BaseSink> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&BaseSink::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_enable_last_sample_trampoline<P>(this: *mut ffi::GstBaseSink, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<BaseSink> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&BaseSink::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_last_sample_trampoline<P>(this: *mut ffi::GstBaseSink, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<BaseSink> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&BaseSink::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_max_bitrate_trampoline<P>(this: *mut ffi::GstBaseSink, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<BaseSink> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&BaseSink::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_max_lateness_trampoline<P>(this: *mut ffi::GstBaseSink, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<BaseSink> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&BaseSink::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_qos_trampoline<P>(this: *mut ffi::GstBaseSink, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<BaseSink> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&BaseSink::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_render_delay_trampoline<P>(this: *mut ffi::GstBaseSink, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<BaseSink> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&BaseSink::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_sync_trampoline<P>(this: *mut ffi::GstBaseSink, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<BaseSink> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&BaseSink::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_throttle_time_trampoline<P>(this: *mut ffi::GstBaseSink, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<BaseSink> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&BaseSink::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_ts_offset_trampoline<P>(this: *mut ffi::GstBaseSink, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<BaseSink> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&BaseSink::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
@ -268,24 +268,28 @@ impl<O: IsA<BaseSrc> + IsA<glib::object::Object>> BaseSrcExt for O {
|
|||
|
||||
unsafe extern "C" fn notify_blocksize_trampoline<P>(this: *mut ffi::GstBaseSrc, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<BaseSrc> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&BaseSrc::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_do_timestamp_trampoline<P>(this: *mut ffi::GstBaseSrc, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<BaseSrc> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&BaseSrc::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_num_buffers_trampoline<P>(this: *mut ffi::GstBaseSrc, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<BaseSrc> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&BaseSrc::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_typefind_trampoline<P>(this: *mut ffi::GstBaseSrc, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<BaseSrc> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&BaseSrc::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
@ -176,6 +176,7 @@ impl<O: IsA<BaseTransform> + IsA<glib::object::Object>> BaseTransformExt for O {
|
|||
|
||||
unsafe extern "C" fn notify_qos_trampoline<P>(this: *mut ffi::GstBaseTransform, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<BaseTransform> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&BaseTransform::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
@ -186,36 +186,43 @@ unsafe impl Send for NetClientClock {}
|
|||
unsafe impl Sync for NetClientClock {}
|
||||
|
||||
unsafe extern "C" fn notify_address_trampoline(this: *mut ffi::GstNetClientClock, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&NetClientClock) + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_base_time_trampoline(this: *mut ffi::GstNetClientClock, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&NetClientClock) + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_bus_trampoline(this: *mut ffi::GstNetClientClock, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&NetClientClock) + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_internal_clock_trampoline(this: *mut ffi::GstNetClientClock, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&NetClientClock) + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_minimum_update_interval_trampoline(this: *mut ffi::GstNetClientClock, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&NetClientClock) + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_port_trampoline(this: *mut ffi::GstNetClientClock, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&NetClientClock) + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_round_trip_limit_trampoline(this: *mut ffi::GstNetClientClock, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&NetClientClock) + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this))
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
@ -113,21 +113,25 @@ unsafe impl Send for NetTimeProvider {}
|
|||
unsafe impl Sync for NetTimeProvider {}
|
||||
|
||||
unsafe extern "C" fn notify_active_trampoline(this: *mut ffi::GstNetTimeProvider, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&NetTimeProvider) + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_address_trampoline(this: *mut ffi::GstNetTimeProvider, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&NetTimeProvider) + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_clock_trampoline(this: *mut ffi::GstNetTimeProvider, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&NetTimeProvider) + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_port_trampoline(this: *mut ffi::GstNetTimeProvider, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&NetTimeProvider) + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this))
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
@ -108,21 +108,25 @@ unsafe impl Send for PtpClock {}
|
|||
unsafe impl Sync for PtpClock {}
|
||||
|
||||
unsafe extern "C" fn notify_domain_trampoline(this: *mut ffi::GstPtpClock, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&PtpClock) + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_grandmaster_clock_id_trampoline(this: *mut ffi::GstPtpClock, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&PtpClock) + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_internal_clock_trampoline(this: *mut ffi::GstPtpClock, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&PtpClock) + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_master_clock_id_trampoline(this: *mut ffi::GstPtpClock, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&PtpClock) + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this))
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ bd67955)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
@ -99,21 +99,25 @@ unsafe impl Send for Discoverer {}
|
|||
unsafe impl Sync for Discoverer {}
|
||||
|
||||
unsafe extern "C" fn discovered_trampoline(this: *mut ffi::GstDiscoverer, info: *mut ffi::GstDiscovererInfo, error: *mut glib_ffi::GError, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&Discoverer, &DiscovererInfo, &Option<Error>) + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this), &from_glib_borrow(info), &from_glib_borrow(error))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn finished_trampoline(this: *mut ffi::GstDiscoverer, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&Discoverer) + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn source_setup_trampoline(this: *mut ffi::GstDiscoverer, source: *mut gst_ffi::GstElement, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&Discoverer, &gst::Element) + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this), &from_glib_borrow(source))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn starting_trampoline(this: *mut ffi::GstDiscoverer, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&Discoverer) + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this))
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ bd67955)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ bd67955)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ bd67955)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ bd67955)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ bd67955)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ bd67955)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ bd67955)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ bd67955)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ bd67955)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
@ -575,136 +575,163 @@ unsafe impl Send for Player {}
|
|||
unsafe impl Sync for Player {}
|
||||
|
||||
unsafe extern "C" fn buffering_trampoline(this: *mut ffi::GstPlayer, object: libc::c_int, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&Player, i32) + Send + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this), object)
|
||||
}
|
||||
|
||||
unsafe extern "C" fn end_of_stream_trampoline(this: *mut ffi::GstPlayer, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&Player) + Send + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn error_trampoline(this: *mut ffi::GstPlayer, object: *mut glib_ffi::GError, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&Player, &Error) + Send + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this), &from_glib_borrow(object))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn media_info_updated_trampoline(this: *mut ffi::GstPlayer, object: *mut ffi::GstPlayerMediaInfo, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&Player, &PlayerMediaInfo) + Send + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this), &from_glib_borrow(object))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn mute_changed_trampoline(this: *mut ffi::GstPlayer, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&Player) + Send + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn state_changed_trampoline(this: *mut ffi::GstPlayer, object: ffi::GstPlayerState, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&Player, PlayerState) + Send + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this), from_glib(object))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn uri_loaded_trampoline(this: *mut ffi::GstPlayer, object: *mut libc::c_char, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&Player, &str) + Send + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this), &String::from_glib_none(object))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn video_dimensions_changed_trampoline(this: *mut ffi::GstPlayer, object: libc::c_int, p0: libc::c_int, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&Player, i32, i32) + Send + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this), object, p0)
|
||||
}
|
||||
|
||||
unsafe extern "C" fn volume_changed_trampoline(this: *mut ffi::GstPlayer, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&Player) + Send + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn warning_trampoline(this: *mut ffi::GstPlayer, object: *mut glib_ffi::GError, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&Player, &Error) + Send + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this), &from_glib_borrow(object))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_audio_video_offset_trampoline(this: *mut ffi::GstPlayer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&Player) + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_current_audio_track_trampoline(this: *mut ffi::GstPlayer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&Player) + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_current_subtitle_track_trampoline(this: *mut ffi::GstPlayer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&Player) + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_current_video_track_trampoline(this: *mut ffi::GstPlayer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&Player) + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_duration_trampoline(this: *mut ffi::GstPlayer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&Player) + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_media_info_trampoline(this: *mut ffi::GstPlayer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&Player) + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_mute_trampoline(this: *mut ffi::GstPlayer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&Player) + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_pipeline_trampoline(this: *mut ffi::GstPlayer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&Player) + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_position_trampoline(this: *mut ffi::GstPlayer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&Player) + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_rate_trampoline(this: *mut ffi::GstPlayer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&Player) + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_signal_dispatcher_trampoline(this: *mut ffi::GstPlayer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&Player) + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_suburi_trampoline(this: *mut ffi::GstPlayer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&Player) + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_uri_trampoline(this: *mut ffi::GstPlayer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&Player) + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_video_multiview_flags_trampoline(this: *mut ffi::GstPlayer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&Player) + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_video_multiview_mode_trampoline(this: *mut ffi::GstPlayer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&Player) + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_video_renderer_trampoline(this: *mut ffi::GstPlayer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&Player) + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_volume_trampoline(this: *mut ffi::GstPlayer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&Player) + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this))
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
@ -47,6 +47,7 @@ unsafe impl Send for PlayerGMainContextSignalDispatcher {}
|
|||
unsafe impl Sync for PlayerGMainContextSignalDispatcher {}
|
||||
|
||||
unsafe extern "C" fn notify_application_context_trampoline(this: *mut ffi::GstPlayerGMainContextSignalDispatcher, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&PlayerGMainContextSignalDispatcher) + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this))
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
@ -102,11 +102,13 @@ unsafe impl Send for PlayerVideoOverlayVideoRenderer {}
|
|||
unsafe impl Sync for PlayerVideoOverlayVideoRenderer {}
|
||||
|
||||
unsafe extern "C" fn notify_video_sink_trampoline(this: *mut ffi::GstPlayerVideoOverlayVideoRenderer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&PlayerVideoOverlayVideoRenderer) + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_window_handle_trampoline(this: *mut ffi::GstPlayerVideoOverlayVideoRenderer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&PlayerVideoOverlayVideoRenderer) + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this))
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ bd67955)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ bd67955)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ bd67955)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ bd67955)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ bd67955)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ bd67955)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
@ -193,6 +193,7 @@ impl<O: IsA<RTSPAuth> + IsA<glib::object::Object>> RTSPAuthExt for O {
|
|||
|
||||
unsafe extern "C" fn accept_certificate_trampoline<P>(this: *mut ffi::GstRTSPAuth, connection: *mut gio_ffi::GTlsConnection, peer_cert: *mut gio_ffi::GTlsCertificate, errors: gio_ffi::GTlsCertificateFlags, f: glib_ffi::gpointer) -> glib_ffi::gboolean
|
||||
where P: IsA<RTSPAuth> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P, &gio::TlsConnection, &gio::TlsCertificate, gio::TlsCertificateFlags) -> bool + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPAuth::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(connection), &from_glib_borrow(peer_cert), from_glib(errors)).to_glib()
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ bd67955)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
@ -486,54 +486,63 @@ impl<O: IsA<RTSPClient> + IsA<glib::object::Object>> RTSPClientExt for O {
|
|||
|
||||
unsafe extern "C" fn announce_request_trampoline<P>(this: *mut ffi::GstRTSPClient, ctx: *mut ffi::GstRTSPContext, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPClient> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P, &RTSPContext) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPClient::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(ctx))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn closed_trampoline<P>(this: *mut ffi::GstRTSPClient, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPClient> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPClient::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
||||
unsafe extern "C" fn describe_request_trampoline<P>(this: *mut ffi::GstRTSPClient, ctx: *mut ffi::GstRTSPContext, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPClient> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P, &RTSPContext) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPClient::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(ctx))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn get_parameter_request_trampoline<P>(this: *mut ffi::GstRTSPClient, ctx: *mut ffi::GstRTSPContext, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPClient> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P, &RTSPContext) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPClient::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(ctx))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn handle_response_trampoline<P>(this: *mut ffi::GstRTSPClient, ctx: *mut ffi::GstRTSPContext, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPClient> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P, &RTSPContext) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPClient::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(ctx))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn new_session_trampoline<P>(this: *mut ffi::GstRTSPClient, object: *mut ffi::GstRTSPSession, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPClient> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P, &RTSPSession) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPClient::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(object))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn options_request_trampoline<P>(this: *mut ffi::GstRTSPClient, ctx: *mut ffi::GstRTSPContext, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPClient> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P, &RTSPContext) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPClient::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(ctx))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn pause_request_trampoline<P>(this: *mut ffi::GstRTSPClient, ctx: *mut ffi::GstRTSPContext, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPClient> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P, &RTSPContext) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPClient::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(ctx))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn play_request_trampoline<P>(this: *mut ffi::GstRTSPClient, ctx: *mut ffi::GstRTSPContext, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPClient> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P, &RTSPContext) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPClient::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(ctx))
|
||||
}
|
||||
|
@ -541,6 +550,7 @@ where P: IsA<RTSPClient> {
|
|||
#[cfg(any(feature = "v1_12", feature = "dox"))]
|
||||
unsafe extern "C" fn pre_announce_request_trampoline<P>(this: *mut ffi::GstRTSPClient, ctx: *mut ffi::GstRTSPContext, f: glib_ffi::gpointer) -> gst_rtsp_ffi::GstRTSPStatusCode
|
||||
where P: IsA<RTSPClient> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P, &RTSPContext) -> gst_rtsp::RTSPStatusCode + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPClient::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(ctx)).to_glib()
|
||||
}
|
||||
|
@ -548,6 +558,7 @@ where P: IsA<RTSPClient> {
|
|||
#[cfg(any(feature = "v1_12", feature = "dox"))]
|
||||
unsafe extern "C" fn pre_describe_request_trampoline<P>(this: *mut ffi::GstRTSPClient, ctx: *mut ffi::GstRTSPContext, f: glib_ffi::gpointer) -> gst_rtsp_ffi::GstRTSPStatusCode
|
||||
where P: IsA<RTSPClient> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P, &RTSPContext) -> gst_rtsp::RTSPStatusCode + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPClient::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(ctx)).to_glib()
|
||||
}
|
||||
|
@ -555,6 +566,7 @@ where P: IsA<RTSPClient> {
|
|||
#[cfg(any(feature = "v1_12", feature = "dox"))]
|
||||
unsafe extern "C" fn pre_get_parameter_request_trampoline<P>(this: *mut ffi::GstRTSPClient, ctx: *mut ffi::GstRTSPContext, f: glib_ffi::gpointer) -> gst_rtsp_ffi::GstRTSPStatusCode
|
||||
where P: IsA<RTSPClient> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P, &RTSPContext) -> gst_rtsp::RTSPStatusCode + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPClient::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(ctx)).to_glib()
|
||||
}
|
||||
|
@ -562,6 +574,7 @@ where P: IsA<RTSPClient> {
|
|||
#[cfg(any(feature = "v1_12", feature = "dox"))]
|
||||
unsafe extern "C" fn pre_options_request_trampoline<P>(this: *mut ffi::GstRTSPClient, ctx: *mut ffi::GstRTSPContext, f: glib_ffi::gpointer) -> gst_rtsp_ffi::GstRTSPStatusCode
|
||||
where P: IsA<RTSPClient> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P, &RTSPContext) -> gst_rtsp::RTSPStatusCode + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPClient::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(ctx)).to_glib()
|
||||
}
|
||||
|
@ -569,6 +582,7 @@ where P: IsA<RTSPClient> {
|
|||
#[cfg(any(feature = "v1_12", feature = "dox"))]
|
||||
unsafe extern "C" fn pre_pause_request_trampoline<P>(this: *mut ffi::GstRTSPClient, ctx: *mut ffi::GstRTSPContext, f: glib_ffi::gpointer) -> gst_rtsp_ffi::GstRTSPStatusCode
|
||||
where P: IsA<RTSPClient> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P, &RTSPContext) -> gst_rtsp::RTSPStatusCode + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPClient::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(ctx)).to_glib()
|
||||
}
|
||||
|
@ -576,6 +590,7 @@ where P: IsA<RTSPClient> {
|
|||
#[cfg(any(feature = "v1_12", feature = "dox"))]
|
||||
unsafe extern "C" fn pre_play_request_trampoline<P>(this: *mut ffi::GstRTSPClient, ctx: *mut ffi::GstRTSPContext, f: glib_ffi::gpointer) -> gst_rtsp_ffi::GstRTSPStatusCode
|
||||
where P: IsA<RTSPClient> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P, &RTSPContext) -> gst_rtsp::RTSPStatusCode + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPClient::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(ctx)).to_glib()
|
||||
}
|
||||
|
@ -583,6 +598,7 @@ where P: IsA<RTSPClient> {
|
|||
#[cfg(any(feature = "v1_12", feature = "dox"))]
|
||||
unsafe extern "C" fn pre_record_request_trampoline<P>(this: *mut ffi::GstRTSPClient, ctx: *mut ffi::GstRTSPContext, f: glib_ffi::gpointer) -> gst_rtsp_ffi::GstRTSPStatusCode
|
||||
where P: IsA<RTSPClient> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P, &RTSPContext) -> gst_rtsp::RTSPStatusCode + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPClient::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(ctx)).to_glib()
|
||||
}
|
||||
|
@ -590,6 +606,7 @@ where P: IsA<RTSPClient> {
|
|||
#[cfg(any(feature = "v1_12", feature = "dox"))]
|
||||
unsafe extern "C" fn pre_set_parameter_request_trampoline<P>(this: *mut ffi::GstRTSPClient, ctx: *mut ffi::GstRTSPContext, f: glib_ffi::gpointer) -> gst_rtsp_ffi::GstRTSPStatusCode
|
||||
where P: IsA<RTSPClient> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P, &RTSPContext) -> gst_rtsp::RTSPStatusCode + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPClient::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(ctx)).to_glib()
|
||||
}
|
||||
|
@ -597,6 +614,7 @@ where P: IsA<RTSPClient> {
|
|||
#[cfg(any(feature = "v1_12", feature = "dox"))]
|
||||
unsafe extern "C" fn pre_setup_request_trampoline<P>(this: *mut ffi::GstRTSPClient, ctx: *mut ffi::GstRTSPContext, f: glib_ffi::gpointer) -> gst_rtsp_ffi::GstRTSPStatusCode
|
||||
where P: IsA<RTSPClient> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P, &RTSPContext) -> gst_rtsp::RTSPStatusCode + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPClient::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(ctx)).to_glib()
|
||||
}
|
||||
|
@ -604,48 +622,56 @@ where P: IsA<RTSPClient> {
|
|||
#[cfg(any(feature = "v1_12", feature = "dox"))]
|
||||
unsafe extern "C" fn pre_teardown_request_trampoline<P>(this: *mut ffi::GstRTSPClient, ctx: *mut ffi::GstRTSPContext, f: glib_ffi::gpointer) -> gst_rtsp_ffi::GstRTSPStatusCode
|
||||
where P: IsA<RTSPClient> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P, &RTSPContext) -> gst_rtsp::RTSPStatusCode + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPClient::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(ctx)).to_glib()
|
||||
}
|
||||
|
||||
unsafe extern "C" fn record_request_trampoline<P>(this: *mut ffi::GstRTSPClient, ctx: *mut ffi::GstRTSPContext, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPClient> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P, &RTSPContext) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPClient::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(ctx))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn set_parameter_request_trampoline<P>(this: *mut ffi::GstRTSPClient, ctx: *mut ffi::GstRTSPContext, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPClient> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P, &RTSPContext) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPClient::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(ctx))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn setup_request_trampoline<P>(this: *mut ffi::GstRTSPClient, ctx: *mut ffi::GstRTSPContext, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPClient> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P, &RTSPContext) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPClient::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(ctx))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn teardown_request_trampoline<P>(this: *mut ffi::GstRTSPClient, ctx: *mut ffi::GstRTSPContext, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPClient> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P, &RTSPContext) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPClient::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(ctx))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_drop_backlog_trampoline<P>(this: *mut ffi::GstRTSPClient, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPClient> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPClient::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_mount_points_trampoline<P>(this: *mut ffi::GstRTSPClient, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPClient> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPClient::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_session_pool_trampoline<P>(this: *mut ffi::GstRTSPClient, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPClient> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPClient::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ bd67955)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
@ -713,114 +713,133 @@ impl<O: IsA<RTSPMedia> + IsA<glib::object::Object>> RTSPMediaExt for O {
|
|||
|
||||
unsafe extern "C" fn new_state_trampoline<P>(this: *mut ffi::GstRTSPMedia, object: libc::c_int, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPMedia> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P, i32) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPMedia::from_glib_borrow(this).downcast_unchecked(), object)
|
||||
}
|
||||
|
||||
unsafe extern "C" fn new_stream_trampoline<P>(this: *mut ffi::GstRTSPMedia, object: *mut ffi::GstRTSPStream, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPMedia> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P, &RTSPStream) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPMedia::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(object))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn prepared_trampoline<P>(this: *mut ffi::GstRTSPMedia, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPMedia> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPMedia::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
||||
unsafe extern "C" fn removed_stream_trampoline<P>(this: *mut ffi::GstRTSPMedia, object: *mut ffi::GstRTSPStream, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPMedia> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P, &RTSPStream) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPMedia::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(object))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn target_state_trampoline<P>(this: *mut ffi::GstRTSPMedia, object: libc::c_int, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPMedia> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P, i32) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPMedia::from_glib_borrow(this).downcast_unchecked(), object)
|
||||
}
|
||||
|
||||
unsafe extern "C" fn unprepared_trampoline<P>(this: *mut ffi::GstRTSPMedia, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPMedia> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPMedia::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_buffer_size_trampoline<P>(this: *mut ffi::GstRTSPMedia, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPMedia> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPMedia::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_clock_trampoline<P>(this: *mut ffi::GstRTSPMedia, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPMedia> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPMedia::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_element_trampoline<P>(this: *mut ffi::GstRTSPMedia, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPMedia> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPMedia::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_eos_shutdown_trampoline<P>(this: *mut ffi::GstRTSPMedia, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPMedia> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPMedia::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_latency_trampoline<P>(this: *mut ffi::GstRTSPMedia, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPMedia> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPMedia::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_profiles_trampoline<P>(this: *mut ffi::GstRTSPMedia, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPMedia> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPMedia::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_protocols_trampoline<P>(this: *mut ffi::GstRTSPMedia, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPMedia> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPMedia::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_reusable_trampoline<P>(this: *mut ffi::GstRTSPMedia, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPMedia> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPMedia::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_shared_trampoline<P>(this: *mut ffi::GstRTSPMedia, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPMedia> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPMedia::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_stop_on_disconnect_trampoline<P>(this: *mut ffi::GstRTSPMedia, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPMedia> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPMedia::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_suspend_mode_trampoline<P>(this: *mut ffi::GstRTSPMedia, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPMedia> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPMedia::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_time_provider_trampoline<P>(this: *mut ffi::GstRTSPMedia, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPMedia> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPMedia::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_transport_mode_trampoline<P>(this: *mut ffi::GstRTSPMedia, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPMedia> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPMedia::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ bd67955)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
@ -513,78 +513,91 @@ impl<O: IsA<RTSPMediaFactory> + IsA<glib::object::Object>> RTSPMediaFactoryExt f
|
|||
|
||||
unsafe extern "C" fn media_configure_trampoline<P>(this: *mut ffi::GstRTSPMediaFactory, object: *mut ffi::GstRTSPMedia, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPMediaFactory> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P, &RTSPMedia) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPMediaFactory::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(object))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn media_constructed_trampoline<P>(this: *mut ffi::GstRTSPMediaFactory, object: *mut ffi::GstRTSPMedia, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPMediaFactory> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P, &RTSPMedia) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPMediaFactory::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(object))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_buffer_size_trampoline<P>(this: *mut ffi::GstRTSPMediaFactory, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPMediaFactory> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPMediaFactory::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_clock_trampoline<P>(this: *mut ffi::GstRTSPMediaFactory, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPMediaFactory> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPMediaFactory::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_eos_shutdown_trampoline<P>(this: *mut ffi::GstRTSPMediaFactory, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPMediaFactory> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPMediaFactory::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_latency_trampoline<P>(this: *mut ffi::GstRTSPMediaFactory, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPMediaFactory> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPMediaFactory::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_launch_trampoline<P>(this: *mut ffi::GstRTSPMediaFactory, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPMediaFactory> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPMediaFactory::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_profiles_trampoline<P>(this: *mut ffi::GstRTSPMediaFactory, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPMediaFactory> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPMediaFactory::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_protocols_trampoline<P>(this: *mut ffi::GstRTSPMediaFactory, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPMediaFactory> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPMediaFactory::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_shared_trampoline<P>(this: *mut ffi::GstRTSPMediaFactory, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPMediaFactory> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPMediaFactory::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_stop_on_disconnect_trampoline<P>(this: *mut ffi::GstRTSPMediaFactory, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPMediaFactory> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPMediaFactory::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_suspend_mode_trampoline<P>(this: *mut ffi::GstRTSPMediaFactory, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPMediaFactory> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPMediaFactory::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_transport_mode_trampoline<P>(this: *mut ffi::GstRTSPMediaFactory, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPMediaFactory> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPMediaFactory::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ bd67955)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
@ -105,12 +105,14 @@ impl<O: IsA<RTSPMediaFactoryURI> + IsA<glib::object::Object>> RTSPMediaFactoryUR
|
|||
|
||||
unsafe extern "C" fn notify_uri_trampoline<P>(this: *mut ffi::GstRTSPMediaFactoryURI, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPMediaFactoryURI> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPMediaFactoryURI::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_use_gstpay_trampoline<P>(this: *mut ffi::GstRTSPMediaFactoryURI, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPMediaFactoryURI> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPMediaFactoryURI::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ bd67955)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ bd67955)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
@ -300,42 +300,49 @@ impl<O: IsA<RTSPServer> + IsA<glib::object::Object>> RTSPServerExt for O {
|
|||
|
||||
unsafe extern "C" fn client_connected_trampoline<P>(this: *mut ffi::GstRTSPServer, object: *mut ffi::GstRTSPClient, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPServer> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P, &RTSPClient) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPServer::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(object))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_address_trampoline<P>(this: *mut ffi::GstRTSPServer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPServer> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPServer::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_backlog_trampoline<P>(this: *mut ffi::GstRTSPServer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPServer> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPServer::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_bound_port_trampoline<P>(this: *mut ffi::GstRTSPServer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPServer> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPServer::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_mount_points_trampoline<P>(this: *mut ffi::GstRTSPServer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPServer> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPServer::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_service_trampoline<P>(this: *mut ffi::GstRTSPServer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPServer> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPServer::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_session_pool_trampoline<P>(this: *mut ffi::GstRTSPServer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPServer> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPServer::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ bd67955)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
@ -210,18 +210,21 @@ impl<O: IsA<RTSPSession> + IsA<glib::object::Object>> RTSPSessionExt for O {
|
|||
|
||||
unsafe extern "C" fn notify_sessionid_trampoline<P>(this: *mut ffi::GstRTSPSession, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPSession> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPSession::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_timeout_trampoline<P>(this: *mut ffi::GstRTSPSession, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPSession> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPSession::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_timeout_always_visible_trampoline<P>(this: *mut ffi::GstRTSPSession, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPSession> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPSession::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ bd67955)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ bd67955)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
@ -131,12 +131,14 @@ impl<O: IsA<RTSPSessionPool> + IsA<glib::object::Object>> RTSPSessionPoolExt for
|
|||
|
||||
unsafe extern "C" fn session_removed_trampoline<P>(this: *mut ffi::GstRTSPSessionPool, object: *mut ffi::GstRTSPSession, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPSessionPool> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P, &RTSPSession) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPSessionPool::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(object))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_max_sessions_trampoline<P>(this: *mut ffi::GstRTSPSessionPool, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPSessionPool> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPSessionPool::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ bd67955)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
@ -557,30 +557,35 @@ impl<O: IsA<RTSPStream> + IsA<glib::object::Object>> RTSPStreamExt for O {
|
|||
|
||||
unsafe extern "C" fn new_rtcp_encoder_trampoline<P>(this: *mut ffi::GstRTSPStream, object: *mut gst_ffi::GstElement, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPStream> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P, &gst::Element) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPStream::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(object))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn new_rtp_encoder_trampoline<P>(this: *mut ffi::GstRTSPStream, object: *mut gst_ffi::GstElement, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPStream> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P, &gst::Element) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPStream::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(object))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_control_trampoline<P>(this: *mut ffi::GstRTSPStream, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPStream> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPStream::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_profiles_trampoline<P>(this: *mut ffi::GstRTSPStream, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPStream> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPStream::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_protocols_trampoline<P>(this: *mut ffi::GstRTSPStream, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPStream> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPStream::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ bd67955)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ bd67955)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
@ -87,6 +87,7 @@ impl<O: IsA<RTSPThreadPool> + IsA<glib::object::Object>> RTSPThreadPoolExt for O
|
|||
|
||||
unsafe extern "C" fn notify_max_threads_trampoline<P>(this: *mut ffi::GstRTSPThreadPool, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<RTSPThreadPool> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&RTSPThreadPool::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ bd67955)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
@ -296,6 +296,7 @@ impl<O: IsA<Bin> + IsA<glib::object::Object>> BinExt for O {
|
|||
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||
unsafe extern "C" fn deep_element_added_trampoline<P>(this: *mut ffi::GstBin, sub_bin: *mut ffi::GstBin, element: *mut ffi::GstElement, f: glib_ffi::gpointer)
|
||||
where P: IsA<Bin> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P, &Bin, &Element) + Send + Sync + 'static) = transmute(f);
|
||||
f(&Bin::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(sub_bin), &from_glib_borrow(element))
|
||||
}
|
||||
|
@ -303,36 +304,42 @@ where P: IsA<Bin> {
|
|||
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||
unsafe extern "C" fn deep_element_removed_trampoline<P>(this: *mut ffi::GstBin, sub_bin: *mut ffi::GstBin, element: *mut ffi::GstElement, f: glib_ffi::gpointer)
|
||||
where P: IsA<Bin> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P, &Bin, &Element) + Send + Sync + 'static) = transmute(f);
|
||||
f(&Bin::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(sub_bin), &from_glib_borrow(element))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn do_latency_trampoline<P>(this: *mut ffi::GstBin, f: glib_ffi::gpointer) -> glib_ffi::gboolean
|
||||
where P: IsA<Bin> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) -> bool + Send + Sync + 'static) = transmute(f);
|
||||
f(&Bin::from_glib_borrow(this).downcast_unchecked()).to_glib()
|
||||
}
|
||||
|
||||
unsafe extern "C" fn element_added_trampoline<P>(this: *mut ffi::GstBin, element: *mut ffi::GstElement, f: glib_ffi::gpointer)
|
||||
where P: IsA<Bin> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P, &Element) + Send + Sync + 'static) = transmute(f);
|
||||
f(&Bin::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(element))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn element_removed_trampoline<P>(this: *mut ffi::GstBin, element: *mut ffi::GstElement, f: glib_ffi::gpointer)
|
||||
where P: IsA<Bin> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P, &Element) + Send + Sync + 'static) = transmute(f);
|
||||
f(&Bin::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(element))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_async_handling_trampoline<P>(this: *mut ffi::GstBin, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<Bin> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&Bin::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_message_forward_trampoline<P>(this: *mut ffi::GstBin, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<Bin> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&Bin::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
@ -148,16 +148,19 @@ unsafe impl Send for Bus {}
|
|||
unsafe impl Sync for Bus {}
|
||||
|
||||
unsafe extern "C" fn message_trampoline(this: *mut ffi::GstBus, message: *mut ffi::GstMessage, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&Bus, &Message) + Send + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this), &from_glib_borrow(message))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn sync_message_trampoline(this: *mut ffi::GstBus, message: *mut ffi::GstMessage, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&Bus, &Message) + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this), &from_glib_borrow(message))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_enable_async_trampoline(this: *mut ffi::GstBus, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&Bus) + Send + Sync + 'static) = transmute(f);
|
||||
f(&from_glib_borrow(this))
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
@ -136,12 +136,14 @@ impl<O: IsA<ChildProxy> + IsA<glib::object::Object>> ChildProxyExt for O {
|
|||
|
||||
unsafe extern "C" fn child_added_trampoline<P>(this: *mut ffi::GstChildProxy, object: *mut gobject_ffi::GObject, name: *mut libc::c_char, f: glib_ffi::gpointer)
|
||||
where P: IsA<ChildProxy> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P, &glib::Object, &str) + Send + Sync + 'static) = transmute(f);
|
||||
f(&ChildProxy::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(object), &String::from_glib_none(name))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn child_removed_trampoline<P>(this: *mut ffi::GstChildProxy, object: *mut gobject_ffi::GObject, name: *mut libc::c_char, f: glib_ffi::gpointer)
|
||||
where P: IsA<ChildProxy> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P, &glib::Object, &str) + Send + Sync + 'static) = transmute(f);
|
||||
f(&ChildProxy::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(object), &String::from_glib_none(name))
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
@ -318,24 +318,28 @@ impl<O: IsA<Clock> + IsA<glib::object::Object>> ClockExt for O {
|
|||
|
||||
unsafe extern "C" fn synced_trampoline<P>(this: *mut ffi::GstClock, synced: glib_ffi::gboolean, f: glib_ffi::gpointer)
|
||||
where P: IsA<Clock> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P, bool) + Send + Sync + 'static) = transmute(f);
|
||||
f(&Clock::from_glib_borrow(this).downcast_unchecked(), from_glib(synced))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_timeout_trampoline<P>(this: *mut ffi::GstClock, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<Clock> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&Clock::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_window_size_trampoline<P>(this: *mut ffi::GstClock, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<Clock> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&Clock::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_window_threshold_trampoline<P>(this: *mut ffi::GstClock, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<Clock> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&Clock::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
@ -153,30 +153,35 @@ impl<O: IsA<Device> + IsA<glib::object::Object>> DeviceExt for O {
|
|||
|
||||
unsafe extern "C" fn removed_trampoline<P>(this: *mut ffi::GstDevice, f: glib_ffi::gpointer)
|
||||
where P: IsA<Device> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&Device::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_caps_trampoline<P>(this: *mut ffi::GstDevice, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<Device> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&Device::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_device_class_trampoline<P>(this: *mut ffi::GstDevice, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<Device> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&Device::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_display_name_trampoline<P>(this: *mut ffi::GstDevice, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<Device> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&Device::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
||||
unsafe extern "C" fn notify_properties_trampoline<P>(this: *mut ffi::GstDevice, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<Device> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&Device::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
@ -158,6 +158,7 @@ impl<O: IsA<DeviceMonitor> + IsA<glib::object::Object>> DeviceMonitorExt for O {
|
|||
|
||||
unsafe extern "C" fn notify_show_all_trampoline<P>(this: *mut ffi::GstDeviceMonitor, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
||||
where P: IsA<DeviceMonitor> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&DeviceMonitor::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
@ -158,12 +158,14 @@ impl<O: IsA<DeviceProvider> + IsA<glib::object::Object>> DeviceProviderExt for O
|
|||
|
||||
unsafe extern "C" fn provider_hidden_trampoline<P>(this: *mut ffi::GstDeviceProvider, object: *mut libc::c_char, f: glib_ffi::gpointer)
|
||||
where P: IsA<DeviceProvider> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P, &str) + Send + Sync + 'static) = transmute(f);
|
||||
f(&DeviceProvider::from_glib_borrow(this).downcast_unchecked(), &String::from_glib_none(object))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn provider_unhidden_trampoline<P>(this: *mut ffi::GstDeviceProvider, object: *mut libc::c_char, f: glib_ffi::gpointer)
|
||||
where P: IsA<DeviceProvider> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P, &str) + Send + Sync + 'static) = transmute(f);
|
||||
f(&DeviceProvider::from_glib_borrow(this).downcast_unchecked(), &String::from_glib_none(object))
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
@ -503,18 +503,21 @@ impl<O: IsA<Element> + IsA<glib::object::Object>> ElementExt for O {
|
|||
|
||||
unsafe extern "C" fn no_more_pads_trampoline<P>(this: *mut ffi::GstElement, f: glib_ffi::gpointer)
|
||||
where P: IsA<Element> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f);
|
||||
f(&Element::from_glib_borrow(this).downcast_unchecked())
|
||||
}
|
||||
|
||||
unsafe extern "C" fn pad_added_trampoline<P>(this: *mut ffi::GstElement, new_pad: *mut ffi::GstPad, f: glib_ffi::gpointer)
|
||||
where P: IsA<Element> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P, &Pad) + Send + Sync + 'static) = transmute(f);
|
||||
f(&Element::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(new_pad))
|
||||
}
|
||||
|
||||
unsafe extern "C" fn pad_removed_trampoline<P>(this: *mut ffi::GstElement, old_pad: *mut ffi::GstPad, f: glib_ffi::gpointer)
|
||||
where P: IsA<Element> {
|
||||
callback_guard!();
|
||||
let f: &&(Fn(&P, &Pad) + Send + Sync + 'static) = transmute(f);
|
||||
f(&Element::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(old_pad))
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
|
||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
// DO NOT EDIT
|
||||
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue