Commit 80a0bfbc authored by Sebastian Dröge's avatar Sebastian Dröge 🍵

Update to latest GIR and depend on GIT versions of glib-sys/gobject-sys

This now generates untruncated structs for almost everything.
parent 57956caf
......@@ -3,9 +3,9 @@ pkg-config = "0.3.7"
[dependencies]
bitflags = "0.8"
glib-sys = "0.3"
gobject-sys = "0.3"
libc = "0.2"
glib-sys = { git = "https://github.com/gtk-rs/sys.git" }
gobject-sys = { git = "https://github.com/gtk-rs/sys.git" }
[dependencies.gstreamer-sys]
path = "../gstreamer-sys"
......
// This file was generated by gir (10e1d4f) from gir-files (???)
// This file was generated by gir (bf7bd49) from gir-files (???)
// DO NOT EDIT
#![allow(non_camel_case_types, non_upper_case_globals)]
......@@ -14,7 +14,7 @@ extern crate gstreamer_tag_sys as gst_tag;
#[allow(unused_imports)]
use libc::{c_int, c_char, c_uchar, c_float, c_uint, c_double,
c_short, c_ushort, c_long, c_ulong,
c_void, size_t, ssize_t, time_t, FILE};
c_void, size_t, ssize_t, intptr_t, uintptr_t, time_t, FILE};
#[allow(unused_imports)]
use glib::{gboolean, gconstpointer, gpointer, GType, Volatile};
......@@ -468,7 +468,7 @@ pub struct GstAudioBaseSinkClass {
pub parent_class: gst_base::GstBaseSinkClass,
pub create_ringbuffer: Option<unsafe extern "C" fn(*mut GstAudioBaseSink) -> *mut GstAudioRingBuffer>,
pub payload: Option<unsafe extern "C" fn(*mut GstAudioBaseSink, *mut gst::GstBuffer) -> *mut gst::GstBuffer>,
_gst_reserved: [gpointer; 4],
pub _gst_reserved: [gpointer; 4],
}
#[repr(C)]
......@@ -478,7 +478,7 @@ pub struct GstAudioBaseSinkPrivate(c_void);
pub struct GstAudioBaseSrcClass {
pub parent_class: gst_base::GstPushSrcClass,
pub create_ringbuffer: Option<unsafe extern "C" fn(*mut GstAudioBaseSrc) -> *mut GstAudioRingBuffer>,
_gst_reserved: [gpointer; 4],
pub _gst_reserved: [gpointer; 4],
}
#[repr(C)]
......@@ -490,7 +490,7 @@ pub struct GstAudioCdSrcClass {
pub open: Option<unsafe extern "C" fn(*mut GstAudioCdSrc, *const c_char) -> gboolean>,
pub close: Option<unsafe extern "C" fn(*mut GstAudioCdSrc)>,
pub read_sector: Option<unsafe extern "C" fn(*mut GstAudioCdSrc, c_int) -> *mut gst::GstBuffer>,
_gst_reserved: [gpointer; 20],
pub _gst_reserved: [gpointer; 20],
}
#[repr(C)]
......@@ -503,8 +503,8 @@ pub struct GstAudioCdSrcTrack {
pub start: c_uint,
pub end: c_uint,
pub tags: *mut gst::GstTagList,
_gst_reserved1: [c_uint; 2],
_gst_reserved2: [gpointer; 2],
pub _gst_reserved1: [c_uint; 2],
pub _gst_reserved2: [gpointer; 2],
}
#[repr(C)]
......@@ -521,7 +521,7 @@ pub struct GstAudioClippingMeta {
#[repr(C)]
pub struct GstAudioClockClass {
pub parent_class: gst::GstSystemClockClass,
_gst_reserved: [gpointer; 4],
pub _gst_reserved: [gpointer; 4],
}
#[repr(C)]
......@@ -548,7 +548,7 @@ pub struct GstAudioDecoderClass {
pub src_query: Option<unsafe extern "C" fn(*mut GstAudioDecoder, *mut gst::GstQuery) -> gboolean>,
pub getcaps: Option<unsafe extern "C" fn(*mut GstAudioDecoder, *mut gst::GstCaps) -> *mut gst::GstCaps>,
pub transform_meta: Option<unsafe extern "C" fn(*mut GstAudioDecoder, *mut gst::GstBuffer, *mut gst::GstMeta, *mut gst::GstBuffer) -> gboolean>,
_gst_reserved: [gpointer; 16],
pub _gst_reserved: [gpointer; 16],
}
#[repr(C)]
......@@ -584,7 +584,7 @@ pub struct GstAudioEncoderClass {
pub transform_meta: Option<unsafe extern "C" fn(*mut GstAudioEncoder, *mut gst::GstBuffer, *mut gst::GstMeta, *mut gst::GstBuffer) -> gboolean>,
pub sink_query: Option<unsafe extern "C" fn(*mut GstAudioEncoder, *mut gst::GstQuery) -> gboolean>,
pub src_query: Option<unsafe extern "C" fn(*mut GstAudioEncoder, *mut gst::GstQuery) -> gboolean>,
_gst_reserved: [gpointer; 17],
pub _gst_reserved: [gpointer; 17],
}
#[repr(C)]
......@@ -594,7 +594,7 @@ pub struct GstAudioEncoderPrivate(c_void);
pub struct GstAudioFilterClass {
pub basetransformclass: gst_base::GstBaseTransformClass,
pub setup: Option<unsafe extern "C" fn(*mut GstAudioFilter, *const GstAudioInfo) -> gboolean>,
_gst_reserved: [gpointer; 4],
pub _gst_reserved: [gpointer; 4],
}
#[repr(C)]
......@@ -610,7 +610,7 @@ pub struct GstAudioFormatInfo {
pub unpack_format: GstAudioFormat,
pub unpack_func: GstAudioFormatUnpack,
pub pack_func: GstAudioFormatPack,
_gst_reserved: [gpointer; 4],
pub _gst_reserved: [gpointer; 4],
}
#[repr(C)]
......@@ -622,7 +622,7 @@ pub struct GstAudioInfo {
pub channels: c_int,
pub bpf: c_int,
pub position: [GstAudioChannelPosition; 64],
_gst_reserved: [gpointer; 4],
pub _gst_reserved: [gpointer; 4],
}
#[repr(C)]
......@@ -646,7 +646,7 @@ pub struct GstAudioRingBufferClass {
pub activate: Option<unsafe extern "C" fn(*mut GstAudioRingBuffer, gboolean) -> gboolean>,
pub commit: Option<unsafe extern "C" fn(*mut GstAudioRingBuffer, *mut u64, *mut u8, c_int, c_int, *mut c_int) -> c_uint>,
pub clear_all: Option<unsafe extern "C" fn(*mut GstAudioRingBuffer)>,
_gst_reserved: [gpointer; 4],
pub _gst_reserved: [gpointer; 4],
}
#[repr(C)]
......@@ -659,7 +659,7 @@ pub struct GstAudioRingBufferSpec {
pub segsize: c_int,
pub segtotal: c_int,
pub seglatency: c_int,
_gst_reserved: [gpointer; 4],
pub _gst_reserved: [gpointer; 4],
}
#[repr(C)]
......@@ -672,7 +672,7 @@ pub struct GstAudioSinkClass {
pub write: Option<unsafe extern "C" fn(*mut GstAudioSink, gpointer, c_uint) -> c_int>,
pub delay: Option<unsafe extern "C" fn(*mut GstAudioSink) -> c_uint>,
pub reset: Option<unsafe extern "C" fn(*mut GstAudioSink)>,
_gst_reserved: [gpointer; 4],
pub _gst_reserved: [gpointer; 4],
}
#[repr(C)]
......@@ -685,7 +685,7 @@ pub struct GstAudioSrcClass {
pub read: Option<unsafe extern "C" fn(*mut GstAudioSrc, gpointer, c_uint, *mut gst::GstClockTime) -> c_uint>,
pub delay: Option<unsafe extern "C" fn(*mut GstAudioSrc) -> c_uint>,
pub reset: Option<unsafe extern "C" fn(*mut GstAudioSrc)>,
_gst_reserved: [gpointer; 4],
pub _gst_reserved: [gpointer; 4],
}
#[repr(C)]
......@@ -703,8 +703,8 @@ pub struct GstAudioBaseSink {
pub next_sample: u64,
pub provided_clock: *mut gst::GstClock,
pub eos_rendering: gboolean,
priv_: *mut GstAudioBaseSinkPrivate,
_gst_reserved: [gpointer; 4],
pub priv_: *mut GstAudioBaseSinkPrivate,
pub _gst_reserved: [gpointer; 4],
}
#[repr(C)]
......@@ -715,17 +715,17 @@ pub struct GstAudioBaseSrc {
pub latency_time: gst::GstClockTime,
pub next_sample: u64,
pub clock: *mut gst::GstClock,
priv_: *mut GstAudioBaseSrcPrivate,
_gst_reserved: [gpointer; 4],
pub priv_: *mut GstAudioBaseSrcPrivate,
pub _gst_reserved: [gpointer; 4],
}
#[repr(C)]
pub struct GstAudioCdSrc {
pub pushsrc: gst_base::GstPushSrc,
pub tags: *mut gst::GstTagList,
priv_: *mut GstAudioCdSrcPrivate,
_gst_reserved1: [c_uint; 2],
_gst_reserved2: [gpointer; 2],
pub priv_: *mut GstAudioCdSrcPrivate,
pub _gst_reserved1: [c_uint; 2],
pub _gst_reserved2: [gpointer; 2],
}
#[repr(C)]
......@@ -734,9 +734,9 @@ pub struct GstAudioClock {
pub func: GstAudioClockGetTimeFunc,
pub user_data: gpointer,
pub destroy_notify: glib::GDestroyNotify,
last_time: gst::GstClockTime,
time_offset: gst::GstClockTimeDiff,
_gst_reserved: [gpointer; 4],
pub last_time: gst::GstClockTime,
pub time_offset: gst::GstClockTimeDiff,
pub _gst_reserved: [gpointer; 4],
}
#[repr(C)]
......@@ -747,8 +747,8 @@ pub struct GstAudioDecoder {
pub stream_lock: glib::GRecMutex,
pub input_segment: gst::GstSegment,
pub output_segment: gst::GstSegment,
priv_: *mut GstAudioDecoderPrivate,
_gst_reserved: [gpointer; 20],
pub priv_: *mut GstAudioDecoderPrivate,
pub _gst_reserved: [gpointer; 20],
}
#[repr(C)]
......@@ -759,15 +759,15 @@ pub struct GstAudioEncoder {
pub stream_lock: glib::GRecMutex,
pub input_segment: gst::GstSegment,
pub output_segment: gst::GstSegment,
priv_: *mut GstAudioEncoderPrivate,
_gst_reserved: [gpointer; 20],
pub priv_: *mut GstAudioEncoderPrivate,
pub _gst_reserved: [gpointer; 20],
}
#[repr(C)]
pub struct GstAudioFilter {
pub basetransform: gst_base::GstBaseTransform,
pub info: GstAudioInfo,
_gst_reserved: [gpointer; 4],
pub _gst_reserved: [gpointer; 4],
}
#[repr(C)]
......@@ -786,29 +786,29 @@ pub struct GstAudioRingBuffer {
pub segdone: c_int,
pub segbase: c_int,
pub waiting: c_int,
callback: GstAudioRingBufferCallback,
cb_data: gpointer,
need_reorder: gboolean,
channel_reorder_map: [c_int; 64],
flushing: gboolean,
may_start: c_int,
active: gboolean,
cb_data_notify: glib::GDestroyNotify,
_gst_reserved: [gpointer; 3],
pub callback: GstAudioRingBufferCallback,
pub cb_data: gpointer,
pub need_reorder: gboolean,
pub channel_reorder_map: [c_int; 64],
pub flushing: gboolean,
pub may_start: c_int,
pub active: gboolean,
pub cb_data_notify: glib::GDestroyNotify,
pub _gst_reserved: [gpointer; 3],
}
#[repr(C)]
pub struct GstAudioSink {
pub element: GstAudioBaseSink,
thread: *mut glib::GThread,
_gst_reserved: [gpointer; 4],
pub thread: *mut glib::GThread,
pub _gst_reserved: [gpointer; 4],
}
#[repr(C)]
pub struct GstAudioSrc {
pub element: GstAudioBaseSrc,
thread: *mut glib::GThread,
_gst_reserved: [gpointer; 4],
pub thread: *mut glib::GThread,
pub _gst_reserved: [gpointer; 4],
}
// Interfaces
......
......@@ -3,9 +3,9 @@ pkg-config = "0.3.7"
[dependencies]
bitflags = "0.8"
glib-sys = "0.3"
gobject-sys = "0.3"
libc = "0.2"
glib-sys = { git = "https://github.com/gtk-rs/sys.git" }
gobject-sys = { git = "https://github.com/gtk-rs/sys.git" }
[dependencies.gstreamer-sys]
path = "../gstreamer-sys"
......
// This file was generated by gir (10e1d4f) from gir-files (???)
// This file was generated by gir (bf7bd49) from gir-files (???)
// DO NOT EDIT
#![allow(non_camel_case_types, non_upper_case_globals)]
......@@ -12,7 +12,7 @@ extern crate gstreamer_sys as gst;
#[allow(unused_imports)]
use libc::{c_int, c_char, c_uchar, c_float, c_uint, c_double,
c_short, c_ushort, c_long, c_ulong,
c_void, size_t, ssize_t, time_t, FILE};
c_void, size_t, ssize_t, intptr_t, uintptr_t, time_t, FILE};
#[allow(unused_imports)]
use glib::{gboolean, gconstpointer, gpointer, GType, Volatile};
......@@ -89,7 +89,7 @@ pub struct GstBaseParseClass {
pub detect: Option<unsafe extern "C" fn(*mut GstBaseParse, *mut gst::GstBuffer) -> gst::GstFlowReturn>,
pub sink_query: Option<unsafe extern "C" fn(*mut GstBaseParse, *mut gst::GstQuery) -> gboolean>,
pub src_query: Option<unsafe extern "C" fn(*mut GstBaseParse, *mut gst::GstQuery) -> gboolean>,
_gst_reserved: [gpointer; 18],
pub _gst_reserved: [gpointer; 18],
}
#[repr(C)]
......@@ -99,10 +99,10 @@ pub struct GstBaseParseFrame {
pub flags: c_uint,
pub offset: u64,
pub overhead: c_int,
size: c_int,
_gst_reserved_i: [c_uint; 2],
_gst_reserved_p: [gpointer; 2],
_private_flags: c_uint,
pub size: c_int,
pub _gst_reserved_i: [c_uint; 2],
pub _gst_reserved_p: [gpointer; 2],
pub _private_flags: c_uint,
}
#[repr(C)]
......@@ -129,7 +129,7 @@ pub struct GstBaseSinkClass {
pub preroll: Option<unsafe extern "C" fn(*mut GstBaseSink, *mut gst::GstBuffer) -> gst::GstFlowReturn>,
pub render: Option<unsafe extern "C" fn(*mut GstBaseSink, *mut gst::GstBuffer) -> gst::GstFlowReturn>,
pub render_list: Option<unsafe extern "C" fn(*mut GstBaseSink, *mut gst::GstBufferList) -> gst::GstFlowReturn>,
_gst_reserved: [gpointer; 20],
pub _gst_reserved: [gpointer; 20],
}
#[repr(C)]
......@@ -157,7 +157,7 @@ pub struct GstBaseSrcClass {
pub create: Option<unsafe extern "C" fn(*mut GstBaseSrc, u64, c_uint, *mut gst::GstBuffer) -> gst::GstFlowReturn>,
pub alloc: Option<unsafe extern "C" fn(*mut GstBaseSrc, u64, c_uint, *mut gst::GstBuffer) -> gst::GstFlowReturn>,
pub fill: Option<unsafe extern "C" fn(*mut GstBaseSrc, u64, c_uint, *mut gst::GstBuffer) -> gst::GstFlowReturn>,
_gst_reserved: [gpointer; 20],
pub _gst_reserved: [gpointer; 20],
}
#[repr(C)]
......@@ -190,7 +190,7 @@ pub struct GstBaseTransformClass {
pub transform_ip: Option<unsafe extern "C" fn(*mut GstBaseTransform, *mut *mut gst::GstBuffer) -> gst::GstFlowReturn>,
pub submit_input_buffer: Option<unsafe extern "C" fn(*mut GstBaseTransform, gboolean, *mut gst::GstBuffer) -> gst::GstFlowReturn>,
pub generate_output: Option<unsafe extern "C" fn(*mut GstBaseTransform, *mut *mut gst::GstBuffer) -> gst::GstFlowReturn>,
_gst_reserved: [gpointer; 18],
pub _gst_reserved: [gpointer; 18],
}
#[repr(C)]
......@@ -202,7 +202,7 @@ pub struct GstBitReader {
pub size: c_uint,
pub byte: c_uint,
pub bit: c_uint,
_gst_reserved: [gpointer; 4],
pub _gst_reserved: [gpointer; 4],
}
#[repr(C)]
......@@ -210,7 +210,7 @@ pub struct GstByteReader {
pub data: *mut u8,
pub size: c_uint,
pub byte: c_uint,
_gst_reserved: [gpointer; 4],
pub _gst_reserved: [gpointer; 4],
}
#[repr(C)]
......@@ -219,7 +219,7 @@ pub struct GstByteWriter {
pub alloc_size: c_uint,
pub fixed: gboolean,
pub owned: gboolean,
_gst_reserved: [gpointer; 4],
pub _gst_reserved: [gpointer; 4],
}
#[repr(C)]
......@@ -229,10 +229,9 @@ pub struct GstCollectData {
pub buffer: *mut gst::GstBuffer,
pub pos: c_uint,
pub segment: gst::GstSegment,
state: GstCollectPadsStateFlags,
priv_: *mut GstCollectDataPrivate,
_truncated_record_marker: c_void,
//union,
pub state: GstCollectPadsStateFlags,
pub priv_: *mut GstCollectDataPrivate,
pub _gst_reserved: [gpointer; 4],
}
#[repr(C)]
......@@ -241,7 +240,7 @@ pub struct GstCollectDataPrivate(c_void);
#[repr(C)]
pub struct GstCollectPadsClass {
pub parent_class: gst::GstObjectClass,
_gst_reserved: [gpointer; 4],
pub _gst_reserved: [gpointer; 4],
}
#[repr(C)]
......@@ -262,7 +261,7 @@ pub struct GstDataQueueItem {
pub duration: u64,
pub visible: gboolean,
pub destroy: glib::GDestroyNotify,
_gst_reserved: [gpointer; 4],
pub _gst_reserved: [gpointer; 4],
}
#[repr(C)]
......@@ -284,7 +283,7 @@ pub struct GstPushSrcClass {
pub create: Option<unsafe extern "C" fn(*mut GstPushSrc, *mut gst::GstBuffer) -> gst::GstFlowReturn>,
pub alloc: Option<unsafe extern "C" fn(*mut GstPushSrc, *mut gst::GstBuffer) -> gst::GstFlowReturn>,
pub fill: Option<unsafe extern "C" fn(*mut GstPushSrc, *mut gst::GstBuffer) -> gst::GstFlowReturn>,
_gst_reserved: [gpointer; 4],
pub _gst_reserved: [gpointer; 4],
}
#[repr(C)]
......@@ -301,8 +300,8 @@ pub struct GstBaseParse {
pub srcpad: *mut gst::GstPad,
pub flags: c_uint,
pub segment: gst::GstSegment,
_gst_reserved: [gpointer; 20],
priv_: *mut GstBaseParsePrivate,
pub _gst_reserved: [gpointer; 20],
pub priv_: *mut GstBaseParsePrivate,
}
#[repr(C)]
......@@ -313,46 +312,44 @@ pub struct GstBaseSink {
pub offset: u64,
pub can_activate_pull: gboolean,
pub can_activate_push: gboolean,
_truncated_record_marker: c_void,
//union,
//preroll_cond: GCond,
//eos: gboolean,
//need_preroll: gboolean,
//have_preroll: gboolean,
//playing_async: gboolean,
//have_newsegment: gboolean,
//segment: GstSegment,
//clock_id: GstClockID,
//sync: gboolean,
//flushing: gboolean,
//running: gboolean,
//max_lateness: gint64,
//priv: GstBaseSinkPrivate*,
//_gst_reserved: gpointer,
pub preroll_lock: glib::GMutex,
pub preroll_cond: glib::GCond,
pub eos: gboolean,
pub need_preroll: gboolean,
pub have_preroll: gboolean,
pub playing_async: gboolean,
pub have_newsegment: gboolean,
pub segment: gst::GstSegment,
pub clock_id: gst::GstClockID,
pub sync: gboolean,
pub flushing: gboolean,
pub running: gboolean,
pub max_lateness: i64,
pub priv_: *mut GstBaseSinkPrivate,
pub _gst_reserved: [gpointer; 20],
}
#[repr(C)]
pub struct GstBaseSrc {
pub element: gst::GstElement,
pub srcpad: *mut gst::GstPad,
_truncated_record_marker: c_void,
//union,
//live_cond: GCond,
//is_live: gboolean,
//live_running: gboolean,
//blocksize: guint,
//can_activate_push: gboolean,
//random_access: gboolean,
//clock_id: GstClockID,
//segment: GstSegment,
//need_newsegment: gboolean,
//num_buffers: gint,
//num_buffers_left: gint,
//typefind: gboolean,
//running: gboolean,
//pending_seek: GstEvent*,
//priv: GstBaseSrcPrivate*,
//_gst_reserved: gpointer,
pub live_lock: glib::GMutex,
pub live_cond: glib::GCond,
pub is_live: gboolean,
pub live_running: gboolean,
pub blocksize: c_uint,
pub can_activate_push: gboolean,
pub random_access: gboolean,
pub clock_id: gst::GstClockID,
pub segment: gst::GstSegment,
pub need_newsegment: gboolean,
pub num_buffers: c_int,
pub num_buffers_left: c_int,
pub typefind: gboolean,
pub running: gboolean,
pub pending_seek: *mut gst::GstEvent,
pub priv_: *mut GstBaseSrcPrivate,
pub _gst_reserved: [gpointer; 20],
}
#[repr(C)]
......@@ -363,30 +360,30 @@ pub struct GstBaseTransform {
pub have_segment: gboolean,
pub segment: gst::GstSegment,
pub queued_buf: *mut gst::GstBuffer,
priv_: *mut GstBaseTransformPrivate,
_gst_reserved: [gpointer; 19],
pub priv_: *mut GstBaseTransformPrivate,
pub _gst_reserved: [gpointer; 19],
}
#[repr(C)]
pub struct GstCollectPads {
pub object: gst::GstObject,
pub data: *mut glib::GSList,
stream_lock: glib::GRecMutex,
priv_: *mut GstCollectPadsPrivate,
_gst_reserved: [gpointer; 4],
pub stream_lock: glib::GRecMutex,
pub priv_: *mut GstCollectPadsPrivate,
pub _gst_reserved: [gpointer; 4],
}
#[repr(C)]
pub struct GstDataQueue {
pub object: gobject::GObject,
priv_: *mut GstDataQueuePrivate,
_gst_reserved: [gpointer; 4],
pub priv_: *mut GstDataQueuePrivate,
pub _gst_reserved: [gpointer; 4],
}
#[repr(C)]
pub struct GstPushSrc {
pub parent: GstBaseSrc,
_gst_reserved: [gpointer; 4],
pub _gst_reserved: [gpointer; 4],
}
extern "C" {
......
......@@ -3,9 +3,9 @@ pkg-config = "0.3.7"
[dependencies]
bitflags = "0.8"
glib-sys = "0.3"
gobject-sys = "0.3"
libc = "0.2"
glib-sys = { git = "https://github.com/gtk-rs/sys.git" }
gobject-sys = { git = "https://github.com/gtk-rs/sys.git" }
[dependencies.gstreamer-sys]
path = "../gstreamer-sys"
......
// This file was generated by gir (10e1d4f+) from gir-files (???)
// This file was generated by gir (bf7bd49) from gir-files (???)
// DO NOT EDIT
#![allow(non_camel_case_types, non_upper_case_globals)]
......@@ -173,14 +173,14 @@ pub struct GstAudioVisualizer {
pub req_spf: c_uint,
pub vinfo: gst_video::GstVideoInfo,
pub ainfo: gst_audio::GstAudioInfo,
priv_: *mut GstAudioVisualizerPrivate,
pub priv_: *mut GstAudioVisualizerPrivate,
}
#[repr(C)]
pub struct GstDiscoverer {
pub parent: gobject::GObject,
priv_: *mut GstDiscovererPrivate,
_reserved: [gpointer; 4],
pub priv_: *mut GstDiscovererPrivate,
pub _reserved: [gpointer; 4],
}
#[repr(C)]
......
......@@ -3,9 +3,9 @@ pkg-config = "0.3.7"
[dependencies]
bitflags = "0.8"
glib-sys = "0.3"
gobject-sys = "0.3"
libc = "0.2"
glib-sys = { git = "https://github.com/gtk-rs/sys.git" }
gobject-sys = { git = "https://github.com/gtk-rs/sys.git" }
[features]
v1_0_10 = []
......
This diff is collapsed.
......@@ -3,9 +3,9 @@ pkg-config = "0.3.7"
[dependencies]
bitflags = "0.8"
glib-sys = "0.3"
gobject-sys = "0.3"
libc = "0.2"
glib-sys = { git = "https://github.com/gtk-rs/sys.git" }
gobject-sys = { git = "https://github.com/gtk-rs/sys.git" }
[dependencies.gstreamer-sys]
path = "../gstreamer-sys"
......
// This file was generated by gir (10e1d4f) from gir-files (???)
// This file was generated by gir (bf7bd49) from gir-files (???)
// DO NOT EDIT
#![allow(non_camel_case_types, non_upper_case_globals)]
......@@ -13,7 +13,7 @@ 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,
c_short, c_ushort, c_long, c_ulong,
c_void, size_t, ssize_t, time_t, FILE};
c_void, size_t, ssize_t, intptr_t, uintptr_t, time_t, FILE};
#[allow(unused_imports)]
use glib::{gboolean, gconstpointer, gpointer, GType, Volatile};
......@@ -142,7 +142,7 @@ pub struct GstTagDemuxClass {
pub identify_tag: Option<unsafe extern "C" fn(*mut GstTagDemux, *mut gst::GstBuffer, gboolean, *mut c_uint) -> gboolean>,
pub parse_tag: Option<unsafe extern "C" fn(*mut GstTagDemux, *mut gst::GstBuffer, gboolean, *mut c_uint, *mut *mut gst::GstTagList) -> GstTagDemuxResult>,
pub merge_tags: Option<unsafe extern "C" fn(*mut GstTagDemux, *const gst::GstTagList, *const gst::GstTagList) -> *mut gst::GstTagList>,
reserved: [gpointer; 4],
pub reserved: [gpointer; 4],
}
#[repr(C)]
......@@ -153,7 +153,7 @@ pub struct GstTagMuxClass {
pub parent_class: gst::GstElementClass,
pub render_start_tag: Option<unsafe extern "C" fn(*mut GstTagMux, *const gst::GstTagList) -> *mut gst::GstBuffer>,
pub render_end_tag: Option<unsafe extern "C" fn(*mut GstTagMux, *const gst::GstTagList) -> *mut gst::GstBuffer>,
_gst_reserved: [gpointer; 4],
pub _gst_reserved: [gpointer; 4],
}
#[repr(C)]
......@@ -168,15 +168,15 @@ pub struct GstTagXmpWriterInterface {
#[repr(C)]
pub struct GstTagDemux {
pub element: gst::GstElement,
priv_: *mut GstTagDemuxPrivate,
reserved: [gpointer; 4],