Commit bcc17efd authored by Guillaume Gomez's avatar Guillaume Gomez Committed by Sebastian Dröge

regen

parent 8e49fa9f
// This file was generated by gir (94e079d) from gir-files (???)
// This file was generated by gir (0113735) from gir-files (???)
// DO NOT EDIT
#![allow(non_camel_case_types, non_upper_case_globals)]
......@@ -31,6 +31,12 @@ pub struct GstAppSinkCallbacks {
pub _gst_reserved: [gpointer; 4],
}
impl ::std::fmt::Debug for GstAppSinkCallbacks {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstAppSinkCallbacks @ {:?}", self as *const _)
}
}
#[repr(C)]
pub struct GstAppSinkClass {
pub basesink_class: gst_base::GstBaseSinkClass,
......@@ -44,9 +50,21 @@ pub struct GstAppSinkClass {
pub _gst_reserved: [gpointer; 2],
}
impl ::std::fmt::Debug for GstAppSinkClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstAppSinkClass @ {:?}", self as *const _)
}
}
#[repr(C)]
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 _)
}
}
#[repr(C)]
pub struct GstAppSrcCallbacks {
pub need_data: Option<unsafe extern "C" fn(*mut GstAppSrc, c_uint, gpointer)>,
......@@ -55,6 +73,12 @@ pub struct GstAppSrcCallbacks {
pub _gst_reserved: [gpointer; 4],
}
impl ::std::fmt::Debug for GstAppSrcCallbacks {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstAppSrcCallbacks @ {:?}", self as *const _)
}
}
#[repr(C)]
pub struct GstAppSrcClass {
pub basesrc_class: gst_base::GstBaseSrcClass,
......@@ -67,9 +91,21 @@ pub struct GstAppSrcClass {
pub _gst_reserved: [gpointer; 3],
}
impl ::std::fmt::Debug for GstAppSrcClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstAppSrcClass @ {:?}", self as *const _)
}
}
#[repr(C)]
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 _)
}
}
// Classes
#[repr(C)]
pub struct GstAppSink {
......@@ -78,6 +114,16 @@ pub struct GstAppSink {
pub _gst_reserved: [gpointer; 4],
}
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)]
pub struct GstAppSrc {
pub basesrc: gst_base::GstBaseSrc,
......@@ -85,6 +131,16 @@ pub struct GstAppSrc {
pub _gst_reserved: [gpointer; 4],
}
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()
}
}
extern "C" {
//=========================================================================
......
This diff is collapsed.
This diff is collapsed.
......@@ -8,7 +8,7 @@ pkg-config = "0.3.7"
[dependencies]
libc = "0.2"
glib-sys = { git = "https://github.com/gtk-rs/sys" }
gobject-sys = { git = "https://github.com/gtk-rs/sys" }
gobject-sys = { git = "https://github.com/gtk-rs/sys" }
[dependencies.gstreamer-base-sys]
path = "../gstreamer-base-sys"
......
This diff is collapsed.
// This file was generated by gir (94e079d) from gir-files (???)
// This file was generated by gir (0113735) from gir-files (???)
// DO NOT EDIT
#![allow(non_camel_case_types, non_upper_case_globals)]
......@@ -103,9 +103,21 @@ pub struct GstAudioVisualizerClass {
pub decide_allocation: Option<unsafe extern "C" fn(*mut GstAudioVisualizer, *mut gst::GstQuery) -> gboolean>,
}
impl ::std::fmt::Debug for GstAudioVisualizerClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstAudioVisualizerClass @ {:?}", self as *const _)
}
}
#[repr(C)]
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 _)
}
}
#[repr(C)]
pub struct GstDiscovererClass {
pub parentclass: gobject::GObjectClass,
......@@ -116,24 +128,66 @@ pub struct GstDiscovererClass {
pub _reserved: [gpointer; 4],
}
impl ::std::fmt::Debug for GstDiscovererClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstDiscovererClass @ {:?}", self as *const _)
}
}
#[repr(C)]
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 _)
}
}
#[repr(C)]
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 _)
}
}
#[repr(C)]
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 _)
}
}
#[repr(C)]
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 _)
}
}
#[repr(C)]
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 _)
}
}
#[repr(C)]
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 _)
}
}
// Classes
#[repr(C)]
pub struct GstAudioVisualizer {
......@@ -144,6 +198,18 @@ pub struct GstAudioVisualizer {
pub priv_: *mut GstAudioVisualizerPrivate,
}
impl ::std::fmt::Debug for GstAudioVisualizer {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("GstAudioVisualizer @ {:?}", self as *const _))
.field("parent", &self.parent)
.field("req_spf", &self.req_spf)
.field("vinfo", &self.vinfo)
.field("ainfo", &self.ainfo)
.field("priv_", &self.priv_)
.finish()
}
}
#[repr(C)]
pub struct GstDiscoverer {
pub parent: gobject::GObject,
......@@ -151,39 +217,115 @@ pub struct GstDiscoverer {
pub _reserved: [gpointer; 4],
}
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()
}
}
#[repr(C)]
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 _)
}
}
#[repr(C)]
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 _)
}
}
#[repr(C)]
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 _)
}
}
#[repr(C)]
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 _)
}
}
#[repr(C)]
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 _)
}
}
#[repr(C)]
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 _)
}
}
#[repr(C)]
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 _)
}
}
#[repr(C)]
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 _)
}
}
#[repr(C)]
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 _)
}
}
#[repr(C)]
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 _)
}
}
#[repr(C)]
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 _)
}
}
extern "C" {
//=========================================================================
......
// This file was generated by gir (94e079d) from gir-files (???)
// This file was generated by gir (0113735) from gir-files (???)
// DO NOT EDIT
#![allow(non_camel_case_types, non_upper_case_globals)]
......@@ -48,76 +48,204 @@ pub type GstPlayerSignalDispatcherFunc = Option<unsafe extern "C" fn(gpointer)>;
#[repr(C)]
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 _)
}
}
#[repr(C)]
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 _)
}
}
#[repr(C)]
pub struct GstPlayerGMainContextSignalDispatcherClass(c_void);
impl ::std::fmt::Debug for GstPlayerGMainContextSignalDispatcherClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstPlayerGMainContextSignalDispatcherClass @ {:?}", self as *const _)
}
}
#[repr(C)]
pub struct GstPlayerMediaInfoClass(c_void);
impl ::std::fmt::Debug for GstPlayerMediaInfoClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstPlayerMediaInfoClass @ {:?}", self as *const _)
}
}
#[repr(C)]
pub struct GstPlayerSignalDispatcherInterface {
pub parent_iface: gobject::GTypeInterface,
pub dispatch: Option<unsafe extern "C" fn(*mut GstPlayerSignalDispatcher, *mut GstPlayer, GstPlayerSignalDispatcherFunc, gpointer, glib::GDestroyNotify)>,
}
impl ::std::fmt::Debug for GstPlayerSignalDispatcherInterface {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstPlayerSignalDispatcherInterface @ {:?}", self as *const _)
}
}
#[repr(C)]
pub struct GstPlayerStreamInfoClass(c_void);
impl ::std::fmt::Debug for GstPlayerStreamInfoClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstPlayerStreamInfoClass @ {:?}", self as *const _)
}
}
#[repr(C)]
pub struct GstPlayerSubtitleInfoClass(c_void);
impl ::std::fmt::Debug for GstPlayerSubtitleInfoClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstPlayerSubtitleInfoClass @ {:?}", self as *const _)
}
}
#[repr(C)]
pub struct GstPlayerVideoInfoClass(c_void);
impl ::std::fmt::Debug for GstPlayerVideoInfoClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstPlayerVideoInfoClass @ {:?}", self as *const _)
}
}
#[repr(C)]
pub struct GstPlayerVideoOverlayVideoRendererClass(c_void);
impl ::std::fmt::Debug for GstPlayerVideoOverlayVideoRendererClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstPlayerVideoOverlayVideoRendererClass @ {:?}", self as *const _)
}
}
#[repr(C)]
pub struct GstPlayerVideoRendererInterface {
pub parent_iface: gobject::GTypeInterface,
pub create_video_sink: Option<unsafe extern "C" fn(*mut GstPlayerVideoRenderer, *mut GstPlayer) -> *mut gst::GstElement>,
}
impl ::std::fmt::Debug for GstPlayerVideoRendererInterface {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstPlayerVideoRendererInterface @ {:?}", self as *const _)
}
}
#[repr(C)]
pub struct GstPlayerVisualization {
pub name: *mut c_char,
pub description: *mut c_char,
}
impl ::std::fmt::Debug for GstPlayerVisualization {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstPlayerVisualization @ {:?}", self as *const _)
}
}
// Classes
#[repr(C)]
pub struct GstPlayer(c_void);
impl ::std::fmt::Debug for GstPlayer {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstPlayer @ {:?}", self as *const _)
}
}
#[repr(C)]
pub struct GstPlayerAudioInfo(c_void);
impl ::std::fmt::Debug for GstPlayerAudioInfo {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstPlayerAudioInfo @ {:?}", self as *const _)
}
}
#[repr(C)]
pub struct GstPlayerGMainContextSignalDispatcher(c_void);
impl ::std::fmt::Debug for GstPlayerGMainContextSignalDispatcher {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstPlayerGMainContextSignalDispatcher @ {:?}", self as *const _)
}
}
#[repr(C)]
pub struct GstPlayerMediaInfo(c_void);
impl ::std::fmt::Debug for GstPlayerMediaInfo {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstPlayerMediaInfo @ {:?}", self as *const _)
}
}
#[repr(C)]
pub struct GstPlayerStreamInfo(c_void);
impl ::std::fmt::Debug for GstPlayerStreamInfo {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstPlayerStreamInfo @ {:?}", self as *const _)
}
}
#[repr(C)]
pub struct GstPlayerSubtitleInfo(c_void);
impl ::std::fmt::Debug for GstPlayerSubtitleInfo {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstPlayerSubtitleInfo @ {:?}", self as *const _)
}
}
#[repr(C)]
pub struct GstPlayerVideoInfo(c_void);
impl ::std::fmt::Debug for GstPlayerVideoInfo {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstPlayerVideoInfo @ {:?}", self as *const _)
}
}
#[repr(C)]
pub struct GstPlayerVideoOverlayVideoRenderer(c_void);
impl ::std::fmt::Debug for GstPlayerVideoOverlayVideoRenderer {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstPlayerVideoOverlayVideoRenderer @ {:?}", self as *const _)
}
}
// Interfaces
#[repr(C)]
pub struct GstPlayerSignalDispatcher(c_void);
impl ::std::fmt::Debug for GstPlayerSignalDispatcher {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstPlayerSignalDispatcher @ {:?}", self as *const _)
}
}
#[repr(C)]
pub struct GstPlayerVideoRenderer(c_void);
impl ::std::fmt::Debug for GstPlayerVideoRenderer {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstPlayerVideoRenderer @ {:?}", self as *const _)
}
}
extern "C" {
//=========================================================================
......
This diff is collapsed.
// This file was generated by gir (94e079d) from gir-files (???)
// This file was generated by gir (0113735) from gir-files (???)
// DO NOT EDIT
#![allow(non_camel_case_types, non_upper_case_globals)]
......@@ -8,6 +8,7 @@ extern crate libc;
extern crate glib_sys as glib;
extern crate gobject_sys as gobject;
extern crate gstreamer_sys as gst;
extern crate gstreamer_base_sys as gst_base;
#[allow(unused_imports)]
use libc::{c_int, c_char, c_uchar, c_float, c_uint, c_double,
......@@ -129,9 +130,21 @@ pub struct GstTagDemuxClass {
pub reserved: [gpointer; 4],
}
impl ::std::fmt::Debug for GstTagDemuxClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstTagDemuxClass @ {:?}", self as *const _)
}
}
#[repr(C)]
pub struct GstTagDemuxPrivate(c_void);
impl ::std::fmt::Debug for GstTagDemuxPrivate {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstTagDemuxPrivate @ {:?}", self as *const _)
}
}
#[repr(C)]
pub struct GstTagMuxClass {
pub parent_class: gst::GstElementClass,
......@@ -140,14 +153,32 @@ pub struct GstTagMuxClass {
pub _gst_reserved: [gpointer; 4],
}
impl ::std::fmt::Debug for GstTagMuxClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstTagMuxClass @ {:?}", self as *const _)
}
}
#[repr(C)]
pub struct GstTagMuxPrivate(c_void);
impl ::std::fmt::Debug for GstTagMuxPrivate {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstTagMuxPrivate @ {:?}", self as *const _)
}
}
#[repr(C)]
pub struct GstTagXmpWriterInterface {
pub parent: gobject::GTypeInterface,
}
impl ::std::fmt::Debug for GstTagXmpWriterInterface {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "GstTagXmpWriterInterface @ {:?}", self as *const _)
}
}
// Classes
#[repr(C)]