Commit 7a914c48 authored by Sebastian Dröge's avatar Sebastian Dröge 🍵

Regenerate everything with latest gir

parent ab27a160
Subproject commit 01137358493a9e19382045c84a141273f7e29b46
Subproject commit 81a781f2e852b0d2f58b3cf3da002e1ef5ed5bce
// This file was generated by gir (0113735) from gir-files (???)
// This file was generated by gir (81a781f) from gir-files (???)
// DO NOT EDIT
#![allow(non_camel_case_types, non_upper_case_globals)]
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
extern crate libc;
extern crate glib_sys as glib;
......@@ -24,6 +24,7 @@ pub const GST_APP_STREAM_TYPE_RANDOM_ACCESS: GstAppStreamType = 2;
// Records
#[repr(C)]
#[derive(Copy, Clone)]
pub struct GstAppSinkCallbacks {
pub eos: Option<unsafe extern "C" fn(*mut GstAppSink, gpointer)>,
pub new_preroll: Option<unsafe extern "C" fn(*mut GstAppSink, gpointer) -> gst::GstFlowReturn>,
......@@ -33,11 +34,16 @@ pub struct GstAppSinkCallbacks {
impl ::std::fmt::Debug for GstAppSinkCallbacks {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstAppSinkCallbacks @ {:?}", self as *const _)
f.debug_struct(&format!("GstAppSinkCallbacks @ {:?}", self as *const _))
.field("eos", &self.eos)
.field("new_preroll", &self.new_preroll)
.field("new_sample", &self.new_sample)
.finish()
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct GstAppSinkClass {
pub basesink_class: gst_base::GstBaseSinkClass,
pub eos: Option<unsafe extern "C" fn(*mut GstAppSink)>,
......@@ -52,7 +58,16 @@ pub struct GstAppSinkClass {
impl ::std::fmt::Debug for GstAppSinkClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstAppSinkClass @ {:?}", self as *const _)
f.debug_struct(&format!("GstAppSinkClass @ {:?}", self as *const _))
.field("basesink_class", &self.basesink_class)
.field("eos", &self.eos)
.field("new_preroll", &self.new_preroll)
.field("new_sample", &self.new_sample)
.field("pull_preroll", &self.pull_preroll)
.field("pull_sample", &self.pull_sample)
.field("try_pull_preroll", &self.try_pull_preroll)
.field("try_pull_sample", &self.try_pull_sample)
.finish()
}
}
......@@ -61,11 +76,13 @@ pub struct GstAppSinkPrivate(c_void);
impl ::std::fmt::Debug for GstAppSinkPrivate {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstAppSinkPrivate @ {:?}", self as *const _)
f.debug_struct(&format!("GstAppSinkPrivate @ {:?}", self as *const _))
.finish()
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct GstAppSrcCallbacks {
pub need_data: Option<unsafe extern "C" fn(*mut GstAppSrc, c_uint, gpointer)>,
pub enough_data: Option<unsafe extern "C" fn(*mut GstAppSrc, gpointer)>,
......@@ -75,11 +92,16 @@ pub struct GstAppSrcCallbacks {
impl ::std::fmt::Debug for GstAppSrcCallbacks {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstAppSrcCallbacks @ {:?}", self as *const _)
f.debug_struct(&format!("GstAppSrcCallbacks @ {:?}", self as *const _))
.field("need_data", &self.need_data)
.field("enough_data", &self.enough_data)
.field("seek_data", &self.seek_data)
.finish()
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct GstAppSrcClass {
pub basesrc_class: gst_base::GstBaseSrcClass,
pub need_data: Option<unsafe extern "C" fn(*mut GstAppSrc, c_uint)>,
......@@ -93,7 +115,15 @@ pub struct GstAppSrcClass {
impl ::std::fmt::Debug for GstAppSrcClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstAppSrcClass @ {:?}", self as *const _)
f.debug_struct(&format!("GstAppSrcClass @ {:?}", self as *const _))
.field("basesrc_class", &self.basesrc_class)
.field("need_data", &self.need_data)
.field("enough_data", &self.enough_data)
.field("seek_data", &self.seek_data)
.field("push_buffer", &self.push_buffer)
.field("end_of_stream", &self.end_of_stream)
.field("push_sample", &self.push_sample)
.finish()
}
}
......@@ -102,12 +132,14 @@ pub struct GstAppSrcPrivate(c_void);
impl ::std::fmt::Debug for GstAppSrcPrivate {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstAppSrcPrivate @ {:?}", self as *const _)
f.debug_struct(&format!("GstAppSrcPrivate @ {:?}", self as *const _))
.finish()
}
}
// Classes
#[repr(C)]
#[derive(Copy, Clone)]
pub struct GstAppSink {
pub basesink: gst_base::GstBaseSink,
pub priv_: *mut GstAppSinkPrivate,
......@@ -118,13 +150,12 @@ impl ::std::fmt::Debug for GstAppSink {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GstAppSink @ {:?}", self as *const _))
.field("basesink", &self.basesink)
.field("priv_", &self.priv_)
.field("_gst_reserved", &self._gst_reserved)
.finish()
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct GstAppSrc {
pub basesrc: gst_base::GstBaseSrc,
pub priv_: *mut GstAppSrcPrivate,
......@@ -135,8 +166,6 @@ impl ::std::fmt::Debug for GstAppSrc {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GstAppSrc @ {:?}", self as *const _))
.field("basesrc", &self.basesrc)
.field("priv_", &self.priv_)
.field("_gst_reserved", &self._gst_reserved)
.finish()
}
}
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
// This file was generated by gir (0113735) from gir-files (???)
// This file was generated by gir (81a781f) from gir-files (???)
// DO NOT EDIT
#![allow(non_camel_case_types, non_upper_case_globals)]
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
extern crate libc;
extern crate glib_sys as glib;
......@@ -30,6 +30,7 @@ pub type GstPtpStatisticsCallback = Option<unsafe extern "C" fn(u8, *const gst::
// Records
#[repr(C)]
#[derive(Copy, Clone)]
pub struct GstNetAddressMeta {
pub meta: gst::GstMeta,
pub addr: *mut gio::GSocketAddress,
......@@ -37,11 +38,15 @@ pub struct GstNetAddressMeta {
impl ::std::fmt::Debug for GstNetAddressMeta {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstNetAddressMeta @ {:?}", self as *const _)
f.debug_struct(&format!("GstNetAddressMeta @ {:?}", self as *const _))
.field("meta", &self.meta)
.field("addr", &self.addr)
.finish()
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct GstNetClientClockClass {
pub parent_class: gst::GstSystemClockClass,
pub _gst_reserved: [gpointer; 4],
......@@ -49,7 +54,9 @@ pub struct GstNetClientClockClass {
impl ::std::fmt::Debug for GstNetClientClockClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstNetClientClockClass @ {:?}", self as *const _)
f.debug_struct(&format!("GstNetClientClockClass @ {:?}", self as *const _))
.field("parent_class", &self.parent_class)
.finish()
}
}
......@@ -58,11 +65,13 @@ pub struct GstNetClientClockPrivate(c_void);
impl ::std::fmt::Debug for GstNetClientClockPrivate {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstNetClientClockPrivate @ {:?}", self as *const _)
f.debug_struct(&format!("GstNetClientClockPrivate @ {:?}", self as *const _))
.finish()
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct GstNetControlMessageMeta {
pub meta: gst::GstMeta,
pub message: *mut gio::GSocketControlMessage,
......@@ -70,11 +79,15 @@ pub struct GstNetControlMessageMeta {
impl ::std::fmt::Debug for GstNetControlMessageMeta {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstNetControlMessageMeta @ {:?}", self as *const _)
f.debug_struct(&format!("GstNetControlMessageMeta @ {:?}", self as *const _))
.field("meta", &self.meta)
.field("message", &self.message)
.finish()
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct GstNetTimePacket {
pub local_time: gst::GstClockTime,
pub remote_time: gst::GstClockTime,
......@@ -82,11 +95,15 @@ pub struct GstNetTimePacket {
impl ::std::fmt::Debug for GstNetTimePacket {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstNetTimePacket @ {:?}", self as *const _)
f.debug_struct(&format!("GstNetTimePacket @ {:?}", self as *const _))
.field("local_time", &self.local_time)
.field("remote_time", &self.remote_time)
.finish()
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct GstNetTimeProviderClass {
pub parent_class: gst::GstObjectClass,
pub _gst_reserved: [gpointer; 4],
......@@ -94,7 +111,10 @@ pub struct GstNetTimeProviderClass {
impl ::std::fmt::Debug for GstNetTimeProviderClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstNetTimeProviderClass @ {:?}", self as *const _)
f.debug_struct(&format!("GstNetTimeProviderClass @ {:?}", self as *const _))
.field("parent_class", &self.parent_class)
.field("_gst_reserved", &self._gst_reserved)
.finish()
}
}
......@@ -103,11 +123,13 @@ pub struct GstNetTimeProviderPrivate(c_void);
impl ::std::fmt::Debug for GstNetTimeProviderPrivate {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstNetTimeProviderPrivate @ {:?}", self as *const _)
f.debug_struct(&format!("GstNetTimeProviderPrivate @ {:?}", self as *const _))
.finish()
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct GstNtpClockClass {
pub parent_class: gst::GstSystemClockClass,
pub _gst_reserved: [gpointer; 4],
......@@ -115,11 +137,14 @@ pub struct GstNtpClockClass {
impl ::std::fmt::Debug for GstNtpClockClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstNtpClockClass @ {:?}", self as *const _)
f.debug_struct(&format!("GstNtpClockClass @ {:?}", self as *const _))
.field("parent_class", &self.parent_class)
.finish()
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct GstPtpClockClass {
pub parent_class: gst::GstSystemClockClass,
pub _gst_reserved: [gpointer; 4],
......@@ -127,7 +152,9 @@ pub struct GstPtpClockClass {
impl ::std::fmt::Debug for GstPtpClockClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstPtpClockClass @ {:?}", self as *const _)
f.debug_struct(&format!("GstPtpClockClass @ {:?}", self as *const _))
.field("parent_class", &self.parent_class)
.finish()
}
}
......@@ -136,12 +163,14 @@ pub struct GstPtpClockPrivate(c_void);
impl ::std::fmt::Debug for GstPtpClockPrivate {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstPtpClockPrivate @ {:?}", self as *const _)
f.debug_struct(&format!("GstPtpClockPrivate @ {:?}", self as *const _))
.finish()
}
}
// Classes
#[repr(C)]
#[derive(Copy, Clone)]
pub struct GstNetClientClock {
pub clock: gst::GstSystemClock,
pub priv_: *mut GstNetClientClockPrivate,
......@@ -152,13 +181,12 @@ impl ::std::fmt::Debug for GstNetClientClock {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GstNetClientClock @ {:?}", self as *const _))
.field("clock", &self.clock)
.field("priv_", &self.priv_)
.field("_gst_reserved", &self._gst_reserved)
.finish()
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct GstNetTimeProvider {
pub parent: gst::GstObject,
pub priv_: *mut GstNetTimeProviderPrivate,
......@@ -169,13 +197,12 @@ impl ::std::fmt::Debug for GstNetTimeProvider {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GstNetTimeProvider @ {:?}", self as *const _))
.field("parent", &self.parent)
.field("priv_", &self.priv_)
.field("_gst_reserved", &self._gst_reserved)
.finish()
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct GstNtpClock {
pub clock: gst::GstSystemClock,
pub priv_: *mut GstNetClientClockPrivate,
......@@ -186,13 +213,12 @@ impl ::std::fmt::Debug for GstNtpClock {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GstNtpClock @ {:?}", self as *const _))
.field("clock", &self.clock)
.field("priv_", &self.priv_)
.field("_gst_reserved", &self._gst_reserved)
.finish()
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct GstPtpClock {
pub clock: gst::GstSystemClock,
pub priv_: *mut GstPtpClockPrivate,
......@@ -203,8 +229,6 @@ impl ::std::fmt::Debug for GstPtpClock {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GstPtpClock @ {:?}", self as *const _))
.field("clock", &self.clock)
.field("priv_", &self.priv_)
.field("_gst_reserved", &self._gst_reserved)
.finish()
}
}
......
// This file was generated by gir (0113735) from gir-files (???)
// This file was generated by gir (81a781f) from gir-files (???)
// DO NOT EDIT
#![allow(non_camel_case_types, non_upper_case_globals)]
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
extern crate libc;
#[macro_use] extern crate bitflags;
......@@ -96,6 +96,7 @@ pub type GstInstallPluginsResultFunc = Option<unsafe extern "C" fn(GstInstallPlu
// Records
#[repr(C)]
#[derive(Copy, Clone)]
pub struct GstAudioVisualizerClass {
pub parent_class: gst::GstElementClass,
pub setup: Option<unsafe extern "C" fn(*mut GstAudioVisualizer) -> gboolean>,
......@@ -105,7 +106,12 @@ pub struct GstAudioVisualizerClass {
impl ::std::fmt::Debug for GstAudioVisualizerClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstAudioVisualizerClass @ {:?}", self as *const _)
f.debug_struct(&format!("GstAudioVisualizerClass @ {:?}", self as *const _))
.field("parent_class", &self.parent_class)
.field("setup", &self.setup)
.field("render", &self.render)
.field("decide_allocation", &self.decide_allocation)
.finish()
}
}
......@@ -114,11 +120,13 @@ pub struct GstAudioVisualizerPrivate(c_void);
impl ::std::fmt::Debug for GstAudioVisualizerPrivate {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstAudioVisualizerPrivate @ {:?}", self as *const _)
f.debug_struct(&format!("GstAudioVisualizerPrivate @ {:?}", self as *const _))
.finish()
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct GstDiscovererClass {
pub parentclass: gobject::GObjectClass,
pub finished: Option<unsafe extern "C" fn(*mut GstDiscoverer)>,
......@@ -130,7 +138,14 @@ pub struct GstDiscovererClass {
impl ::std::fmt::Debug for GstDiscovererClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstDiscovererClass @ {:?}", self as *const _)
f.debug_struct(&format!("GstDiscovererClass @ {:?}", self as *const _))
.field("parentclass", &self.parentclass)
.field("finished", &self.finished)
.field("starting", &self.starting)
.field("discovered", &self.discovered)
.field("source_setup", &self.source_setup)
.field("_reserved", &self._reserved)
.finish()
}
}
......@@ -139,7 +154,8 @@ pub struct GstDiscovererPrivate(c_void);
impl ::std::fmt::Debug for GstDiscovererPrivate {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstDiscovererPrivate @ {:?}", self as *const _)
f.debug_struct(&format!("GstDiscovererPrivate @ {:?}", self as *const _))
.finish()
}
}
......@@ -148,7 +164,8 @@ pub struct GstEncodingAudioProfileClass(c_void);
impl ::std::fmt::Debug for GstEncodingAudioProfileClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstEncodingAudioProfileClass @ {:?}", self as *const _)
f.debug_struct(&format!("GstEncodingAudioProfileClass @ {:?}", self as *const _))
.finish()
}
}
......@@ -157,7 +174,8 @@ pub struct GstEncodingContainerProfileClass(c_void);
impl ::std::fmt::Debug for GstEncodingContainerProfileClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstEncodingContainerProfileClass @ {:?}", self as *const _)
f.debug_struct(&format!("GstEncodingContainerProfileClass @ {:?}", self as *const _))
.finish()
}
}
......@@ -166,7 +184,8 @@ pub struct GstEncodingProfileClass(c_void);
impl ::std::fmt::Debug for GstEncodingProfileClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstEncodingProfileClass @ {:?}", self as *const _)
f.debug_struct(&format!("GstEncodingProfileClass @ {:?}", self as *const _))
.finish()
}
}
......@@ -175,7 +194,8 @@ pub struct GstEncodingVideoProfileClass(c_void);
impl ::std::fmt::Debug for GstEncodingVideoProfileClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstEncodingVideoProfileClass @ {:?}", self as *const _)
f.debug_struct(&format!("GstEncodingVideoProfileClass @ {:?}", self as *const _))
.finish()
}
}
......@@ -184,12 +204,14 @@ pub struct GstInstallPluginsContext(c_void);
impl ::std::fmt::Debug for GstInstallPluginsContext {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstInstallPluginsContext @ {:?}", self as *const _)
f.debug_struct(&format!("GstInstallPluginsContext @ {:?}", self as *const _))
.finish()
}
}
// Classes
#[repr(C)]
#[derive(Copy, Clone)]
pub struct GstAudioVisualizer {
pub parent: gst::GstElement,
pub req_spf: c_uint,
......@@ -205,12 +227,12 @@ impl ::std::fmt::Debug for GstAudioVisualizer {
.field("req_spf", &self.req_spf)
.field("vinfo", &self.vinfo)
.field("ainfo", &self.ainfo)
.field("priv_", &self.priv_)
.finish()
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct GstDiscoverer {
pub parent: gobject::GObject,
pub priv_: *mut GstDiscovererPrivate,
......@@ -221,8 +243,6 @@ impl ::std::fmt::Debug for GstDiscoverer {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GstDiscoverer @ {:?}", self as *const _))
.field("parent", &self.parent)
.field("priv_", &self.priv_)
.field("_reserved", &self._reserved)
.finish()
}
}
......@@ -232,7 +252,8 @@ pub struct GstDiscovererAudioInfo(c_void);
impl ::std::fmt::Debug for GstDiscovererAudioInfo {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstDiscovererAudioInfo @ {:?}", self as *const _)
f.debug_struct(&format!("GstDiscovererAudioInfo @ {:?}", self as *const _))
.finish()
}
}
......@@ -241,7 +262,8 @@ pub struct GstDiscovererContainerInfo(c_void);
impl ::std::fmt::Debug for GstDiscovererContainerInfo {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstDiscovererContainerInfo @ {:?}", self as *const _)
f.debug_struct(&format!("GstDiscovererContainerInfo @ {:?}", self as *const _))
.finish()
}
}
......@@ -250,7 +272,8 @@ pub struct GstDiscovererInfo(c_void);
impl ::std::fmt::Debug for GstDiscovererInfo {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstDiscovererInfo @ {:?}", self as *const _)
f.debug_struct(&format!("GstDiscovererInfo @ {:?}", self as *const _))
.finish()
}
}
......@@ -259,7 +282,8 @@ pub struct GstDiscovererStreamInfo(c_void);
impl ::std::fmt::Debug for GstDiscovererStreamInfo {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstDiscovererStreamInfo @ {:?}", self as *const _)
f.debug_struct(&format!("GstDiscovererStreamInfo @ {:?}", self as *const _))
.finish()
}
}
......@@ -268,7 +292,8 @@ pub struct GstDiscovererSubtitleInfo(c_void);
impl ::std::fmt::Debug for GstDiscovererSubtitleInfo {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstDiscovererSubtitleInfo @ {:?}", self as *const _)
f.debug_struct(&format!("GstDiscovererSubtitleInfo @ {:?}", self as *const _))
.finish()
}
}
......@@ -277,7 +302,8 @@ pub struct GstDiscovererVideoInfo(c_void);
impl ::std::fmt::Debug for GstDiscovererVideoInfo {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstDiscovererVideoInfo @ {:?}", self as *const _)
f.debug_struct(&format!("GstDiscovererVideoInfo @ {:?}", self as *const _))
.finish()
}
}
......@@ -286,7 +312,8 @@ pub struct GstEncodingAudioProfile(c_void);
impl ::std::fmt::Debug for GstEncodingAudioProfile {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstEncodingAudioProfile @ {:?}", self as *const _)
f.debug_struct(&format!("GstEncodingAudioProfile @ {:?}", self as *const _))
.finish()
}
}
......@@ -295,7 +322,8 @@ pub struct GstEncodingContainerProfile(c_void);
impl ::std::fmt::Debug for GstEncodingContainerProfile {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstEncodingContainerProfile @ {:?}", self as *const _)
f.debug_struct(&format!("GstEncodingContainerProfile @ {:?}", self as *const _))
.finish()
}
}
......@@ -304,7 +332,8 @@ pub struct GstEncodingProfile(c_void);
impl ::std::fmt::Debug for GstEncodingProfile {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstEncodingProfile @ {:?}", self as *const _)
f.debug_struct(&format!("GstEncodingProfile @ {:?}", self as *const _))
.finish()
}
}
......@@ -313,7 +342,8 @@ pub struct GstEncodingTarget(c_void);
impl ::std::fmt::Debug for GstEncodingTarget {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstEncodingTarget @ {:?}", self as *const _)
f.debug_struct(&format!("GstEncodingTarget @ {:?}", self as *const _))
.finish()
}
}
......@@ -322,7 +352,8 @@ pub struct GstEncodingVideoProfile(c_void);
impl ::std::fmt::Debug for GstEncodingVideoProfile {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstEncodingVideoProfile @ {:?}", self as *const _)
f.debug_struct(&format!("GstEncodingVideoProfile @ {:?}", self as *const _))
.finish()
}
}
......
// This file was generated by gir (0113735) from gir-files (???)
// This file was generated by gir (81a781f) from gir-files (???)
// DO NOT EDIT
#![allow(non_camel_case_types, non_upper_case_globals)]
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
extern crate libc;
extern crate glib_sys as glib;
......@@ -50,7 +50,8 @@ pub struct GstPlayerAudioInfoClass(c_void);
impl ::std::fmt::Debug for GstPlayerAudioInfoClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstPlayerAudioInfoClass @ {:?}", self as *const _)
f.debug_struct(&format!("GstPlayerAudioInfoClass @ {:?}", self as *const _))
.finish()
}
}
......@@ -59,7 +60,8 @@ pub struct GstPlayerClass(c_void);
impl ::std::fmt::Debug for GstPlayerClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstPlayerClass @ {:?}", self as *const _)