Commit ad24ab96 authored by Sebastian Dröge's avatar Sebastian Dröge 🍵

Regenerate everything with latest gir

parent 84ba2d79
Pipeline #15836 passed with stages
in 9 minutes and 54 seconds
......@@ -114,7 +114,7 @@ trait_name = "GstBinExt"
[[object]]
name = "Gst.Bus"
status = "generate"
trait = false
final_type = true
[[object.function]]
name = "add_signal_watch_full"
# Priority
......@@ -504,17 +504,17 @@ status = "generate"
[[object]]
name = "Gst.ElementFactory"
status = "generate"
trait = false
final_type = true
[[object]]
name = "Gst.TypeFindFactory"
status = "generate"
trait = false
final_type = true
[[object]]
name = "Gst.DeviceProviderFactory"
status = "generate"
trait = false
final_type = true
[[object]]
name = "Gst.DeviceProvider"
......@@ -798,7 +798,7 @@ status = "generate"
[[object]]
name = "Gst.PadTemplate"
status = "generate"
trait = false
final_type = true
[[object.function]]
name = "new_from_static_pad_template_with_gtype"
# static pad template manual
......@@ -857,7 +857,7 @@ status = "generate"
[[object]]
name = "Gst.Stream"
status = "generate"
trait = false
final_type = true
[[object.function]]
name = "new"
# Work-around for 1.14 switch from transfer-floating to transfer-full
......@@ -866,7 +866,7 @@ trait = false
[[object]]
name = "Gst.StreamCollection"
status = "generate"
trait = false
final_type = true
[[object.function]]
name = "new"
# Work-around for 1.14 switch from transfer-floating to transfer-full
......@@ -880,7 +880,7 @@ trait = false
[[object]]
name = "Gst.Plugin"
status = "generate"
trait = false
final_type = true
[[object.function]]
name = "list_free"
......@@ -946,7 +946,7 @@ status = "generate"
[[object]]
name = "Gst.Registry"
status = "generate"
trait = false
final_type = true
[[object.function]]
pattern = "fork_.*"
......
......@@ -35,7 +35,7 @@ manual = [
[[object]]
name = "GstApp.AppSink"
status = "generate"
trait = false
final_type = true
[[object.signal]]
name = "pull-sample"
......@@ -76,7 +76,7 @@ trait = false
[[object]]
name = "GstApp.AppSrc"
status = "generate"
trait = false
final_type = true
[[object.function]]
name = "push_buffer"
......
......@@ -37,7 +37,7 @@ manual = [
[[object]]
name = "GstBase.Adapter"
status = "generate"
trait = false
final_type = true
concurrency = "send-unique"
[[object.function]]
......@@ -69,7 +69,7 @@ concurrency = "send-unique"
name = "GstBase.FlowCombiner"
# Manual because ref/unref functions were added much later
status = "manual"
trait = false
final_type = true
concurrency = "none"
[[object]]
......
......@@ -36,4 +36,4 @@ conversion_type = "scalar"
[[object]]
name = "GstCheck.TestClock"
status = "generate"
trait = false
final_type = true
......@@ -185,7 +185,7 @@ status = "generate"
[[object]]
name = "GstGL.GLDisplayEGL"
status = "generate"
trait = false
final_type = true
cfg_condition = "feature = \"egl\""
[[object]]
......@@ -240,7 +240,7 @@ status = "generate"
[[object]]
name = "GstGL.GLColorConvert"
status = "generate"
trait = false
final_type = true
[[object.function]]
name = "decide_allocation"
......@@ -260,7 +260,7 @@ trait = false
[[object]]
name = "GstGL.GLOverlayCompositor"
status = "generate"
trait = false
final_type = true
[[object.function]]
name = "upload_overlays"
......@@ -270,12 +270,12 @@ trait = false
[[object]]
name = "GstGL.GLSLStage"
status = "generate"
trait = false
final_type = true
[[object]]
name = "GstGL.GLShader"
status = "generate"
trait = false
final_type = true
[[object.function]]
name = "set_uniform_matrix_2fv"
......@@ -325,7 +325,7 @@ trait = false
[[object]]
name = "GstGL.GLUpload"
status = "generate"
trait = false
final_type = true
[[object.function]]
name = "perform_with_buffer"
......@@ -345,7 +345,7 @@ trait = false
[[object]]
name = "GstGL.GLViewConvert"
status = "generate"
trait = false
final_type = true
[[object.function]]
name = "fixate_caps"
......
......@@ -35,7 +35,7 @@ conversion_type = "scalar"
[[object]]
name = "GstNet.NtpClock"
status = "generate"
trait = false
final_type = true
[[object.function]]
name = "new"
......@@ -45,7 +45,7 @@ trait = false
[[object]]
name = "GstNet.PtpClock"
status = "generate"
trait = false
final_type = true
[[object.function]]
name = "new"
......@@ -55,7 +55,7 @@ trait = false
[[object]]
name = "GstNet.NetClientClock"
status = "generate"
trait = false
final_type = true
[[object.function]]
name = "new"
......@@ -65,7 +65,7 @@ trait = false
[[object]]
name = "GstNet.NetTimeProvider"
status = "generate"
trait = false
final_type = true
[[object.function]]
name = "new"
......
......@@ -74,7 +74,7 @@ conversion_type = "scalar"
[[object]]
name = "GstPbutils.Discoverer"
status = "generate"
trait = false
final_type = true
[[object.function]]
name = "discover_uri_async"
......@@ -98,6 +98,7 @@ status = "generate"
[[object]]
name = "GstPbutils.DiscovererStreamInfo"
status = "generate"
final_type = false
# Not useful
[[object.function]]
......@@ -112,12 +113,12 @@ status = "generate"
[[object]]
name = "GstPbutils.DiscovererAudioInfo"
status = "generate"
trait = false
final_type = true
[[object]]
name = "GstPbutils.DiscovererVideoInfo"
status = "generate"
trait = false
final_type = true
# Implement manually to expose as gst::Fraction
[[object.function]]
......@@ -136,12 +137,12 @@ trait = false
[[object]]
name = "GstPbutils.DiscovererSubtitleInfo"
status = "generate"
trait = false
final_type = true
[[object]]
name = "GstPbutils.DiscovererContainerInfo"
status = "generate"
trait = false
final_type = true
[[object]]
name = "GstPbutils.EncodingProfile"
......@@ -214,7 +215,7 @@ status = "generate"
[[object]]
name = "GstPbutils.EncodingAudioProfile"
status = "generate"
trait = false
final_type = true
# Ignore all setters, making it immutable. A builder will be provided.
[[object.function]]
name = "new"
......@@ -226,7 +227,7 @@ trait = false
[[object]]
name = "GstPbutils.EncodingVideoProfile"
status = "generate"
trait = false
final_type = true
# Ignore all setters, making it immutable. A builder will be provided.
[[object.function]]
name = "new"
......
......@@ -60,7 +60,7 @@ ref_mode = "ref-mut"
[[object]]
name = "GstPlayer.Player"
status = "generate"
trait = false
final_type = true
[[object.function]]
name = "visualizations_free"
......@@ -186,12 +186,12 @@ status = "generate"
[[object]]
name = "GstPlayer.PlayerAudioInfo"
status = "generate"
trait = false
final_type = true
[[object]]
name = "GstPlayer.PlayerVideoInfo"
status = "generate"
trait = false
final_type = true
[[object.function]]
name = "get_framerate"
......@@ -206,12 +206,12 @@ trait = false
[[object]]
name = "GstPlayer.PlayerSubtitleInfo"
status = "generate"
trait = false
final_type = true
[[object]]
name = "GstPlayer.PlayerMediaInfo"
status = "generate"
trait = false
final_type = true
[[object.function]]
name = "get_uri"
......@@ -221,12 +221,12 @@ trait = false
[[object]]
name = "GstPlayer.PlayerVideoOverlayVideoRenderer"
status = "generate"
trait = false
final_type = true
[[object]]
name = "GstPlayer.PlayerGMainContextSignalDispatcher"
status = "generate"
trait = false
final_type = true
[[object.function]]
name = "new"
......
......@@ -40,32 +40,32 @@ manual = [
[[object]]
name = "GstWebRTC.WebRTCDTLSTransport"
status = "generate"
trait = false
final_type = true
[[object]]
name = "GstWebRTC.WebRTCICETransport"
status = "generate"
trait = false
final_type = true
[[object]]
name = "GstWebRTC.WebRTCRTPReceiver"
status = "generate"
trait = false
final_type = true
[[object]]
name = "GstWebRTC.WebRTCRTPSender"
status = "generate"
trait = false
final_type = true
[[object]]
name = "GstWebRTC.WebRTCRTPTransceiver"
status = "generate"
trait = false
final_type = true
[[object]]
name = "GstWebRTC.WebRTCSessionDescription"
status = "generate"
trait = false
final_type = true
[[object.function]]
name = "new"
......
......@@ -226,8 +226,6 @@ impl AppSink {
unsafe impl Send for AppSink {}
unsafe impl Sync for AppSink {}
pub const NONE_APP_SINK: Option<&AppSink> = None;
unsafe extern "C" fn eos_trampoline(this: *mut ffi::GstAppSink, f: glib_ffi::gpointer) {
let f: &&(Fn(&AppSink) + Send + Sync + 'static) = transmute(f);
f(&from_glib_borrow(this))
......
......@@ -342,8 +342,6 @@ impl AppSrc {
unsafe impl Send for AppSrc {}
unsafe impl Sync for AppSrc {}
pub const NONE_APP_SRC: Option<&AppSrc> = None;
unsafe extern "C" fn enough_data_trampoline(this: *mut ffi::GstAppSrc, f: glib_ffi::gpointer) {
let f: &&(Fn(&AppSrc) + Send + Sync + 'static) = transmute(f);
f(&from_glib_borrow(this))
......
......@@ -3,10 +3,10 @@
// DO NOT EDIT
mod app_sink;
pub use self::app_sink::{AppSink, AppSinkClass, NONE_APP_SINK};
pub use self::app_sink::{AppSink, AppSinkClass};
mod app_src;
pub use self::app_src::{AppSrc, AppSrcClass, NONE_APP_SRC};
pub use self::app_src::{AppSrc, AppSrcClass};
mod enums;
pub use self::enums::AppStreamType;
......
Generated by gir (https://github.com/gtk-rs/gir @ dd6fb0a)
Generated by gir (https://github.com/gtk-rs/gir @ 4620f19)
from gir-files (https://github.com/gtk-rs/gir-files @ ???)
Generated by gir (https://github.com/gtk-rs/gir @ dd6fb0a)
Generated by gir (https://github.com/gtk-rs/gir @ 4620f19)
from gir-files (https://github.com/gtk-rs/gir-files @ ???)
......@@ -197,5 +197,3 @@ unsafe impl glib::SendUnique for Adapter {
self.ref_count() == 1
}
}
pub const NONE_ADAPTER: Option<&Adapter> = None;
......@@ -3,7 +3,7 @@
// DO NOT EDIT
mod adapter;
pub use self::adapter::{Adapter, AdapterClass, NONE_ADAPTER};
pub use self::adapter::{Adapter, AdapterClass};
#[cfg(any(feature = "v1_14", feature = "dox"))]
mod aggregator;
......
Generated by gir (https://github.com/gtk-rs/gir @ dd6fb0a)
Generated by gir (https://github.com/gtk-rs/gir @ 4620f19)
from gir-files (https://github.com/gtk-rs/gir-files @ ???)
......@@ -3,7 +3,7 @@
// DO NOT EDIT
mod test_clock;
pub use self::test_clock::{TestClock, TestClockClass, NONE_TEST_CLOCK};
pub use self::test_clock::{TestClock, TestClockClass};
#[doc(hidden)]
pub mod traits {
......
......@@ -143,8 +143,6 @@ impl Default for TestClock {
unsafe impl Send for TestClock {}
unsafe impl Sync for TestClock {}
pub const NONE_TEST_CLOCK: Option<&TestClock> = None;
unsafe extern "C" fn notify_clock_type_trampoline(this: *mut ffi::GstTestClock, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) {
let f: &&(Fn(&TestClock) + Send + Sync + 'static) = transmute(f);
f(&from_glib_borrow(this))
......
Generated by gir (https://github.com/gtk-rs/gir @ dd6fb0a)
Generated by gir (https://github.com/gtk-rs/gir @ 4620f19)
from gir-files (https://github.com/gtk-rs/gir-files @ ???)
Generated by gir (https://github.com/gtk-rs/gir @ dd6fb0a)
Generated by gir (https://github.com/gtk-rs/gir @ 4620f19)
from gir-files (https://github.com/gtk-rs/gir-files @ ???)
......@@ -40,5 +40,3 @@ impl GLColorConvert {
unsafe impl Send for GLColorConvert {}
unsafe impl Sync for GLColorConvert {}
pub const NONE_GL_COLOR_CONVERT: Option<&GLColorConvert> = None;
......@@ -40,5 +40,3 @@ impl Default for GLDisplayEGL {
unsafe impl Send for GLDisplayEGL {}
unsafe impl Sync for GLDisplayEGL {}
pub const NONE_GL_DISPLAY_EGL: Option<&GLDisplayEGL> = None;
......@@ -46,5 +46,3 @@ impl GLOverlayCompositor {
unsafe impl Send for GLOverlayCompositor {}
unsafe impl Sync for GLOverlayCompositor {}
pub const NONE_GL_OVERLAY_COMPOSITOR: Option<&GLOverlayCompositor> = None;
......@@ -53,15 +53,15 @@ impl GLShader {
// unsafe { TODO: call ffi::gst_gl_shader_new_with_stages() }
//}
pub fn attach<P: IsA<GLSLStage>>(&self, stage: &P) -> bool {
pub fn attach(&self, stage: &GLSLStage) -> bool {
unsafe {
from_glib(ffi::gst_gl_shader_attach(self.to_glib_none().0, stage.as_ref().to_glib_none().0))
from_glib(ffi::gst_gl_shader_attach(self.to_glib_none().0, stage.to_glib_none().0))
}
}
pub fn attach_unlocked<P: IsA<GLSLStage>>(&self, stage: &P) -> bool {
pub fn attach_unlocked(&self, stage: &GLSLStage) -> bool {
unsafe {
from_glib(ffi::gst_gl_shader_attach_unlocked(self.to_glib_none().0, stage.as_ref().to_glib_none().0))
from_glib(ffi::gst_gl_shader_attach_unlocked(self.to_glib_none().0, stage.to_glib_none().0))
}
}
......@@ -77,23 +77,23 @@ impl GLShader {
}
}
pub fn compile_attach_stage<P: IsA<GLSLStage>>(&self, stage: &P) -> Result<(), Error> {
pub fn compile_attach_stage(&self, stage: &GLSLStage) -> Result<(), Error> {
unsafe {
let mut error = ptr::null_mut();
let _ = ffi::gst_gl_shader_compile_attach_stage(self.to_glib_none().0, stage.as_ref().to_glib_none().0, &mut error);
let _ = ffi::gst_gl_shader_compile_attach_stage(self.to_glib_none().0, stage.to_glib_none().0, &mut error);
if error.is_null() { Ok(()) } else { Err(from_glib_full(error)) }
}
}
pub fn detach<P: IsA<GLSLStage>>(&self, stage: &P) {
pub fn detach(&self, stage: &GLSLStage) {
unsafe {
ffi::gst_gl_shader_detach(self.to_glib_none().0, stage.as_ref().to_glib_none().0);
ffi::gst_gl_shader_detach(self.to_glib_none().0, stage.to_glib_none().0);
}
}
pub fn detach_unlocked<P: IsA<GLSLStage>>(&self, stage: &P) {
pub fn detach_unlocked(&self, stage: &GLSLStage) {
unsafe {
ffi::gst_gl_shader_detach_unlocked(self.to_glib_none().0, stage.as_ref().to_glib_none().0);
ffi::gst_gl_shader_detach_unlocked(self.to_glib_none().0, stage.to_glib_none().0);
}
}
......@@ -265,8 +265,6 @@ impl GLShader {
unsafe impl Send for GLShader {}
unsafe impl Sync for GLShader {}
pub const NONE_GL_SHADER: Option<&GLShader> = None;
unsafe extern "C" fn notify_linked_trampoline(this: *mut ffi::GstGLShader, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) {
let f: &&(Fn(&GLShader) + Send + Sync + 'static) = transmute(f);
f(&from_glib_borrow(this))
......
......@@ -62,5 +62,3 @@ impl GLUpload {
unsafe impl Send for GLUpload {}
unsafe impl Sync for GLUpload {}
pub const NONE_GL_UPLOAD: Option<&GLUpload> = None;
......@@ -185,8 +185,6 @@ impl Default for GLViewConvert {
unsafe impl Send for GLViewConvert {}
unsafe impl Sync for GLViewConvert {}
pub const NONE_GL_VIEW_CONVERT: Option<&GLViewConvert> = None;
unsafe extern "C" fn notify_downmix_mode_trampoline(this: *mut ffi::GstGLViewConvert, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) {
let f: &&(Fn(&GLViewConvert) + Send + Sync + 'static) = transmute(f);
f(&from_glib_borrow(this))
......
......@@ -100,5 +100,3 @@ impl GLSLStage {
unsafe impl Send for GLSLStage {}
unsafe impl Sync for GLSLStage {}
pub const NONE_GLSL_STAGE: Option<&GLSLStage> = None;
......@@ -7,7 +7,7 @@ pub use self::gl_base_filter::{GLBaseFilter, GLBaseFilterClass, NONE_GL_BASE_FIL
pub use self::gl_base_filter::GLBaseFilterExt;
mod gl_color_convert;
pub use self::gl_color_convert::{GLColorConvert, GLColorConvertClass, NONE_GL_COLOR_CONVERT};
pub use self::gl_color_convert::{GLColorConvert, GLColorConvertClass};
mod gl_context;
pub use self::gl_context::{GLContext, GLContextClass, NONE_GL_CONTEXT};
......@@ -20,26 +20,26 @@ pub use self::gl_display::GLDisplayExt;
#[cfg(any(feature = "egl", feature = "dox"))]
mod gl_display_egl;
#[cfg(any(feature = "egl", feature = "dox"))]
pub use self::gl_display_egl::{GLDisplayEGL, GLDisplayEGLClass, NONE_GL_DISPLAY_EGL};
pub use self::gl_display_egl::{GLDisplayEGL, GLDisplayEGLClass};
mod gl_framebuffer;
pub use self::gl_framebuffer::{GLFramebuffer, GLFramebufferClass, NONE_GL_FRAMEBUFFER};
pub use self::gl_framebuffer::GLFramebufferExt;
mod gl_overlay_compositor;
pub use self::gl_overlay_compositor::{GLOverlayCompositor, GLOverlayCompositorClass, NONE_GL_OVERLAY_COMPOSITOR};
pub use self::gl_overlay_compositor::{GLOverlayCompositor, GLOverlayCompositorClass};
mod glsl_stage;
pub use self::glsl_stage::{GLSLStage, GLSLStageClass, NONE_GLSL_STAGE};
pub use self::glsl_stage::{GLSLStage, GLSLStageClass};
mod gl_shader;
pub use self::gl_shader::{GLShader, GLShaderClass, NONE_GL_SHADER};
pub use self::gl_shader::{GLShader, GLShaderClass};
mod gl_upload;
pub use self::gl_upload::{GLUpload, GLUploadClass, NONE_GL_UPLOAD};
pub use self::gl_upload::{GLUpload, GLUploadClass};
mod gl_view_convert;
pub use self::gl_view_convert::{GLViewConvert, GLViewConvertClass, NONE_GL_VIEW_CONVERT};
pub use self::gl_view_convert::{GLViewConvert, GLViewConvertClass};
mod gl_window;
pub use self::gl_window::{GLWindow, GLWindowClass, NONE_GL_WINDOW};
......
Generated by gir (https://github.com/gtk-rs/gir @ dd6fb0a)
Generated by gir (https://github.com/gtk-rs/gir @ 4620f19)
from gir-files (https://github.com/gtk-rs/gir-files @ ???)
......@@ -3,16 +3,16 @@
// DO NOT EDIT
mod net_client_clock;
pub use self::net_client_clock::{NetClientClock, NetClientClockClass, NONE_NET_CLIENT_CLOCK};
pub use self::net_client_clock::{NetClientClock, NetClientClockClass};
mod net_time_provider;
pub use self::net_time_provider::{NetTimeProvider, NetTimeProviderClass, NONE_NET_TIME_PROVIDER};
pub use self::net_time_provider::{NetTimeProvider, NetTimeProviderClass};
mod ntp_clock;
pub use self::ntp_clock::{NtpClock, NtpClockClass, NONE_NTP_CLOCK};
pub use self::ntp_clock::{NtpClock, NtpClockClass};
mod ptp_clock;
pub use self::ptp_clock::{PtpClock, PtpClockClass, NONE_PTP_CLOCK};
pub use self::ptp_clock::{PtpClock, PtpClockClass};
#[doc(hidden)]
pub mod traits {
......
......@@ -188,8 +188,6 @@ impl NetClientClock {
unsafe impl Send for NetClientClock {}
unsafe impl Sync for NetClientClock {}
pub const NONE_NET_CLIENT_CLOCK: Option<&NetClientClock> = None;
unsafe extern "C" fn notify_address_trampoline(this: *mut ffi::GstNetClientClock, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) {
let f: &&(Fn(&NetClientClock) + Send + Sync + 'static) = transmute(f);
f(&from_glib_borrow(this))
......
......@@ -97,8 +97,6 @@ impl NetTimeProvider {
unsafe impl Send for NetTimeProvider {}
unsafe impl Sync for NetTimeProvider {}
pub const NONE_NET_TIME_PROVIDER: Option<&NetTimeProvider> = None;
unsafe extern "C" fn notify_active_trampoline(this: *mut ffi::GstNetTimeProvider, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) {
let f: &&(Fn(&NetTimeProvider) + Send + Sync + 'static) = transmute(f);
f(&from_glib_borrow(this))
......
......@@ -19,5 +19,3 @@ impl NtpClock {}
unsafe impl Send for NtpClock {}
unsafe impl Sync for NtpClock {}
pub const NONE_NTP_CLOCK: Option<&NtpClock> = None;
......@@ -84,8 +84,6 @@ impl PtpClock {
unsafe impl Send for PtpClock {}
unsafe impl Sync for PtpClock {}
pub const NONE_PTP_CLOCK: Option<&PtpClock> = None;
unsafe extern "C" fn notify_grandmaster_clock_id_trampoline(this: *mut ffi::GstPtpClock, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) {
let f: &&(Fn(&PtpClock) + Send + Sync + 'static) = transmute(f);
f(&from_glib_borrow(this))
......
Generated by gir (https://github.com/gtk-rs/gir @ dd6fb0a)
Generated by gir (https://github.com/gtk-rs/gir @ 4620f19)
from gir-files (https://github.com/gtk-rs/gir-files @ ???)
......@@ -97,8 +97,6 @@ impl Discoverer {
unsafe impl Send for Discoverer {}
unsafe impl Sync for Discoverer {}
pub const NONE_DISCOVERER: Option<&Discoverer> = None;
unsafe extern "C" fn discovered_trampoline(this: *mut ffi::GstDiscoverer, info: *mut ffi::GstDiscovererInfo, error: *mut glib_ffi::GError, f: glib_ffi::gpointer) {
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))
......
......@@ -62,5 +62,3 @@ impl DiscovererAudioInfo {
unsafe impl Send for DiscovererAudioInfo {}
unsafe impl Sync for DiscovererAudioInfo {}
pub const NONE_DISCOVERER_AUDIO_INFO: Option<&DiscovererAudioInfo> = None;
......@@ -24,5 +24,3 @@ impl DiscovererContainerInfo {
unsafe impl Send for DiscovererContainerInfo {}
unsafe impl Sync for DiscovererContainerInfo {}
pub const NONE_DISCOVERER_CONTAINER_INFO: Option<&DiscovererContainerInfo> = None;
......@@ -8,7 +8,6 @@ use DiscovererStreamInfo;
use ffi;
use glib;
use glib::GString;
use glib::object::IsA;
use glib::translate::*;
use gst;