Update bindings with latests GtkSharp

Update GtkSharp to 4c85f1479cf2e0dc056c0d288785e5a1d7251cb1
and regenerate bindings

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-sharp/-/merge_requests/34>
This commit is contained in:
Andoni Morales Alastruey 2021-08-05 15:37:27 +02:00
parent 239320e190
commit ae1562d367
101 changed files with 153 additions and 595 deletions

View file

@ -9,7 +9,7 @@ namespace GES {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (GES.MetaFlagGType))]
public enum MetaFlag {
public enum MetaFlag : uint {
Readable = 1,
Writable = 2,

View file

@ -9,7 +9,7 @@ namespace GES {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (GES.PipelineFlagsGType))]
public enum PipelineFlags {
public enum PipelineFlags : uint {
AudioPreview = 1,
VideoPreview = 2,

View file

@ -9,7 +9,7 @@ namespace GES {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (GES.TrackTypeGType))]
public enum TrackType {
public enum TrackType : uint {
Unknown = 1,
Audio = 2,

View file

@ -43,27 +43,10 @@ namespace Gst.Audio {
gst_audio_channel_mixer_free (raw);
}
class FinalizerInfo {
IntPtr handle;
public FinalizerInfo (IntPtr handle)
{
this.handle = handle;
protected override Action<IntPtr> DisposeUnmanagedFunc {
get {
return gst_audio_channel_mixer_free;
}
public bool Handler ()
{
gst_audio_channel_mixer_free (handle);
return false;
}
}
~AudioChannelMixer ()
{
if (!Owned)
return;
FinalizerInfo info = new FinalizerInfo (Handle);
GLib.Timeout.Add (50, new GLib.TimeoutHandler (info.Handler));
}

View file

@ -9,7 +9,7 @@ namespace Gst.Audio {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.Audio.AudioChannelMixerFlagsGType))]
public enum AudioChannelMixerFlags {
public enum AudioChannelMixerFlags : uint {
None = 0,
NonInterleavedIn = 1,

View file

@ -9,7 +9,7 @@ namespace Gst.Audio {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.Audio.AudioConverterFlagsGType))]
public enum AudioConverterFlags {
public enum AudioConverterFlags : uint {
None = 0,
InWritable = 1,

View file

@ -9,7 +9,7 @@ namespace Gst.Audio {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.Audio.AudioFlagsGType))]
public enum AudioFlags {
public enum AudioFlags : uint {
None = 0,
Unpositioned = 1,

View file

@ -9,7 +9,7 @@ namespace Gst.Audio {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.Audio.AudioFormatFlagsGType))]
public enum AudioFormatFlags {
public enum AudioFormatFlags : uint {
Integer = 1,
Float = 2,

View file

@ -197,27 +197,10 @@ namespace Gst.Audio {
gst_audio_info_free (raw);
}
class FinalizerInfo {
IntPtr handle;
public FinalizerInfo (IntPtr handle)
{
this.handle = handle;
protected override Action<IntPtr> DisposeUnmanagedFunc {
get {
return gst_audio_info_free;
}
public bool Handler ()
{
gst_audio_info_free (handle);
return false;
}
}
~AudioInfo ()
{
if (!Owned)
return;
FinalizerInfo info = new FinalizerInfo (Handle);
GLib.Timeout.Add (50, new GLib.TimeoutHandler (info.Handler));
}

View file

@ -9,7 +9,7 @@ namespace Gst.Audio {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.Audio.AudioPackFlagsGType))]
public enum AudioPackFlags {
public enum AudioPackFlags : uint {
None = 0,
TruncateRange = 1,

View file

@ -39,27 +39,10 @@ namespace Gst.Audio {
gst_audio_quantize_free (raw);
}
class FinalizerInfo {
IntPtr handle;
public FinalizerInfo (IntPtr handle)
{
this.handle = handle;
protected override Action<IntPtr> DisposeUnmanagedFunc {
get {
return gst_audio_quantize_free;
}
public bool Handler ()
{
gst_audio_quantize_free (handle);
return false;
}
}
~AudioQuantize ()
{
if (!Owned)
return;
FinalizerInfo info = new FinalizerInfo (Handle);
GLib.Timeout.Add (50, new GLib.TimeoutHandler (info.Handler));
}

View file

@ -9,7 +9,7 @@ namespace Gst.Audio {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.Audio.AudioQuantizeFlagsGType))]
public enum AudioQuantizeFlags {
public enum AudioQuantizeFlags : uint {
None = 0,
NonInterleaved = 1,

View file

@ -93,27 +93,10 @@ namespace Gst.Audio {
gst_audio_resampler_free (raw);
}
class FinalizerInfo {
IntPtr handle;
public FinalizerInfo (IntPtr handle)
{
this.handle = handle;
protected override Action<IntPtr> DisposeUnmanagedFunc {
get {
return gst_audio_resampler_free;
}
public bool Handler ()
{
gst_audio_resampler_free (handle);
return false;
}
}
~AudioResampler ()
{
if (!Owned)
return;
FinalizerInfo info = new FinalizerInfo (Handle);
GLib.Timeout.Add (50, new GLib.TimeoutHandler (info.Handler));
}

View file

@ -9,7 +9,7 @@ namespace Gst.Audio {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.Audio.AudioResamplerFlagsGType))]
public enum AudioResamplerFlags {
public enum AudioResamplerFlags : uint {
None = 0,
NonInterleavedIn = 1,

View file

@ -8,7 +8,7 @@ namespace Gst.Base {
#region Autogenerated code
[Flags]
public enum BaseParseFrameFlags {
public enum BaseParseFrameFlags : uint {
None = 0,
NewFrame = 1,

View file

@ -8,7 +8,7 @@ namespace Gst.Base {
#region Autogenerated code
[Flags]
public enum BaseSrcFlags {
public enum BaseSrcFlags : uint {
Starting = 16384,
Started = 32768,

View file

@ -8,7 +8,7 @@ namespace Gst.Base {
#region Autogenerated code
[Flags]
public enum CollectPadsStateFlags {
public enum CollectPadsStateFlags : uint {
Eos = 1,
Flushing = 2,

View file

@ -9,7 +9,7 @@ namespace Gst.PbUtils {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.PbUtils.DiscovererSerializeFlagsGType))]
public enum DiscovererSerializeFlags {
public enum DiscovererSerializeFlags : uint {
Basic = 0,
Caps = 1,

View file

@ -9,7 +9,7 @@ namespace Gst.Rtp {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.Rtp.RTPBufferFlagsGType))]
public enum RTPBufferFlags {
public enum RTPBufferFlags : uint {
Retransmission = 1048576,
Redundant = 2097152,

View file

@ -9,7 +9,7 @@ namespace Gst.Rtp {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.Rtp.RTPBufferMapFlagsGType))]
public enum RTPBufferMapFlags {
public enum RTPBufferMapFlags : uint {
SkipPadding = 65536,
Last = 16777216,

View file

@ -9,7 +9,7 @@ namespace Gst.Rtsp {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.Rtsp.RTSPEventGType))]
public enum RTSPEvent {
public enum RTSPEvent : uint {
Read = 1,
Write = 2,

View file

@ -9,7 +9,7 @@ namespace Gst.Rtsp {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.Rtsp.RTSPLowerTransGType))]
public enum RTSPLowerTrans {
public enum RTSPLowerTrans : uint {
Unknown = 0,
Udp = 1,

View file

@ -9,7 +9,7 @@ namespace Gst.Rtsp {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.Rtsp.RTSPMethodGType))]
public enum RTSPMethod {
public enum RTSPMethod : uint {
Invalid = 0,
Describe = 1,

View file

@ -9,7 +9,7 @@ namespace Gst.Rtsp {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.Rtsp.RTSPProfileGType))]
public enum RTSPProfile {
public enum RTSPProfile : uint {
Unknown = 0,
Avp = 1,

View file

@ -9,7 +9,7 @@ namespace Gst.Rtsp {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.Rtsp.RTSPTransModeGType))]
public enum RTSPTransMode {
public enum RTSPTransMode : uint {
Unknown = 0,
Rtp = 1,

View file

@ -113,27 +113,10 @@ namespace Gst.Rtsp {
}
}
class FinalizerInfo {
IntPtr handle;
public FinalizerInfo (IntPtr handle)
{
this.handle = handle;
protected override Action<IntPtr> DisposeUnmanagedFunc {
get {
return gst_rtsp_watch_unref;
}
public bool Handler ()
{
gst_rtsp_watch_unref (handle);
return false;
}
}
~RTSPWatch ()
{
if (!Owned)
return;
FinalizerInfo info = new FinalizerInfo (Handle);
GLib.Timeout.Add (50, new GLib.TimeoutHandler (info.Handler));
}

View file

@ -9,7 +9,7 @@ namespace Gst.Tags {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.Tags.TagLicenseFlagsGType))]
public enum TagLicenseFlags {
public enum TagLicenseFlags : uint {
PermitsReproduction = 1,
PermitsDistribution = 2,

View file

@ -9,7 +9,7 @@ namespace Gst.Video {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.Video.VideoBufferFlagsGType))]
public enum VideoBufferFlags {
public enum VideoBufferFlags : uint {
Marker = 512,
Interlaced = 1048576,

View file

@ -9,7 +9,7 @@ namespace Gst.Video {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.Video.VideoChromaFlagsGType))]
public enum VideoChromaFlags {
public enum VideoChromaFlags : uint {
None = 0,
Interlaced = 1,

View file

@ -28,27 +28,10 @@ namespace Gst.Video {
gst_video_chroma_resample_free (raw);
}
class FinalizerInfo {
IntPtr handle;
public FinalizerInfo (IntPtr handle)
{
this.handle = handle;
protected override Action<IntPtr> DisposeUnmanagedFunc {
get {
return gst_video_chroma_resample_free;
}
public bool Handler ()
{
gst_video_chroma_resample_free (handle);
return false;
}
}
~VideoChromaResample ()
{
if (!Owned)
return;
FinalizerInfo info = new FinalizerInfo (Handle);
GLib.Timeout.Add (50, new GLib.TimeoutHandler (info.Handler));
}

View file

@ -9,7 +9,7 @@ namespace Gst.Video {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.Video.VideoChromaSiteGType))]
public enum VideoChromaSite {
public enum VideoChromaSite : uint {
Unknown = 0,
None = 1,

View file

@ -8,7 +8,7 @@ namespace Gst.Video {
#region Autogenerated code
[Flags]
public enum VideoCodecFrameFlags {
public enum VideoCodecFrameFlags : uint {
DecodeOnly = 1,
SyncPoint = 2,

View file

@ -53,27 +53,10 @@ namespace Gst.Video {
gst_video_converter_free (raw);
}
class FinalizerInfo {
IntPtr handle;
public FinalizerInfo (IntPtr handle)
{
this.handle = handle;
protected override Action<IntPtr> DisposeUnmanagedFunc {
get {
return gst_video_converter_free;
}
public bool Handler ()
{
gst_video_converter_free (handle);
return false;
}
}
~VideoConverter ()
{
if (!Owned)
return;
FinalizerInfo info = new FinalizerInfo (Handle);
GLib.Timeout.Add (50, new GLib.TimeoutHandler (info.Handler));
}

View file

@ -8,7 +8,7 @@ namespace Gst.Video {
#region Autogenerated code
[Flags]
public enum VideoDecoderRequestSyncPointFlags {
public enum VideoDecoderRequestSyncPointFlags : uint {
DiscardInput = 1,
CorruptOutput = 2,

View file

@ -32,27 +32,10 @@ namespace Gst.Video {
gst_video_dither_free (raw);
}
class FinalizerInfo {
IntPtr handle;
public FinalizerInfo (IntPtr handle)
{
this.handle = handle;
protected override Action<IntPtr> DisposeUnmanagedFunc {
get {
return gst_video_dither_free;
}
public bool Handler ()
{
gst_video_dither_free (handle);
return false;
}
}
~VideoDither ()
{
if (!Owned)
return;
FinalizerInfo info = new FinalizerInfo (Handle);
GLib.Timeout.Add (50, new GLib.TimeoutHandler (info.Handler));
}

View file

@ -9,7 +9,7 @@ namespace Gst.Video {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.Video.VideoDitherFlagsGType))]
public enum VideoDitherFlags {
public enum VideoDitherFlags : uint {
None = 0,
Interlaced = 1,

View file

@ -9,7 +9,7 @@ namespace Gst.Video {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.Video.VideoFlagsGType))]
public enum VideoFlags {
public enum VideoFlags : uint {
None = 0,
VariableFps = 1,

View file

@ -9,7 +9,7 @@ namespace Gst.Video {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.Video.VideoFormatFlagsGType))]
public enum VideoFormatFlags {
public enum VideoFormatFlags : uint {
Yuv = 1,
Rgb = 2,

View file

@ -9,7 +9,7 @@ namespace Gst.Video {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.Video.VideoFrameFlagsGType))]
public enum VideoFrameFlags {
public enum VideoFrameFlags : uint {
None = 0,
Interlaced = 1,

View file

@ -9,7 +9,7 @@ namespace Gst.Video {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.Video.VideoFrameMapFlagsGType))]
public enum VideoFrameMapFlags {
public enum VideoFrameMapFlags : uint {
NoRef = 65536,
Last = 16777216,

View file

@ -329,27 +329,10 @@ namespace Gst.Video {
gst_video_info_free (raw);
}
class FinalizerInfo {
IntPtr handle;
public FinalizerInfo (IntPtr handle)
{
this.handle = handle;
protected override Action<IntPtr> DisposeUnmanagedFunc {
get {
return gst_video_info_free;
}
public bool Handler ()
{
gst_video_info_free (handle);
return false;
}
}
~VideoInfo ()
{
if (!Owned)
return;
FinalizerInfo info = new FinalizerInfo (Handle);
GLib.Timeout.Add (50, new GLib.TimeoutHandler (info.Handler));
}

View file

@ -9,7 +9,7 @@ namespace Gst.Video {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.Video.VideoMultiviewFlagsGType))]
public enum VideoMultiviewFlags {
public enum VideoMultiviewFlags : uint {
None = 0,
RightViewFirst = 1,

View file

@ -9,7 +9,7 @@ namespace Gst.Video {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.Video.VideoOverlayFormatFlagsGType))]
public enum VideoOverlayFormatFlags {
public enum VideoOverlayFormatFlags : uint {
None = 0,
PremultipliedAlpha = 1,

View file

@ -9,7 +9,7 @@ namespace Gst.Video {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.Video.VideoPackFlagsGType))]
public enum VideoPackFlags {
public enum VideoPackFlags : uint {
None = 0,
TruncateRange = 1,

View file

@ -9,7 +9,7 @@ namespace Gst.Video {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.Video.VideoResamplerFlagsGType))]
public enum VideoResamplerFlags {
public enum VideoResamplerFlags : uint {
None = 0,
HalfTaps = 1,

View file

@ -74,27 +74,10 @@ namespace Gst.Video {
gst_video_scaler_free (raw);
}
class FinalizerInfo {
IntPtr handle;
public FinalizerInfo (IntPtr handle)
{
this.handle = handle;
protected override Action<IntPtr> DisposeUnmanagedFunc {
get {
return gst_video_scaler_free;
}
public bool Handler ()
{
gst_video_scaler_free (handle);
return false;
}
}
~VideoScaler ()
{
if (!Owned)
return;
FinalizerInfo info = new FinalizerInfo (Handle);
GLib.Timeout.Add (50, new GLib.TimeoutHandler (info.Handler));
}

View file

@ -9,7 +9,7 @@ namespace Gst.Video {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.Video.VideoScalerFlagsGType))]
public enum VideoScalerFlags {
public enum VideoScalerFlags : uint {
None = 0,
Interlaced = 1,

View file

@ -9,7 +9,7 @@ namespace Gst.Video {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.Video.VideoTimeCodeFlagsGType))]
public enum VideoTimeCodeFlags {
public enum VideoTimeCodeFlags : uint {
None = 0,
DropFrame = 1,

View file

@ -9,7 +9,7 @@ namespace Gst {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.AllocatorFlagsGType))]
public enum AllocatorFlags {
public enum AllocatorFlags : uint {
CustomAlloc = 16,
Last = 1048576,

View file

@ -88,27 +88,10 @@ namespace Gst {
}
}
class FinalizerInfo {
IntPtr handle;
public FinalizerInfo (IntPtr handle)
{
this.handle = handle;
protected override Action<IntPtr> DisposeUnmanagedFunc {
get {
return gst_atomic_queue_unref;
}
public bool Handler ()
{
gst_atomic_queue_unref (handle);
return false;
}
}
~AtomicQueue ()
{
if (!Owned)
return;
FinalizerInfo info = new FinalizerInfo (Handle);
GLib.Timeout.Add (50, new GLib.TimeoutHandler (info.Handler));
}

View file

@ -9,7 +9,7 @@ namespace Gst {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.BinFlagsGType))]
public enum BinFlags {
public enum BinFlags : uint {
NoResync = 16384,
StreamsAware = 32768,

View file

@ -640,27 +640,10 @@ namespace Gst {
}
}
class FinalizerInfo {
IntPtr handle;
public FinalizerInfo (IntPtr handle)
{
this.handle = handle;
protected override Action<IntPtr> DisposeUnmanagedFunc {
get {
return gst_buffer_unref;
}
public bool Handler ()
{
gst_buffer_unref (handle);
return false;
}
}
~Buffer ()
{
if (!Owned)
return;
FinalizerInfo info = new FinalizerInfo (Handle);
GLib.Timeout.Add (50, new GLib.TimeoutHandler (info.Handler));
}

View file

@ -9,7 +9,7 @@ namespace Gst {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.BufferCopyFlagsGType))]
public enum BufferCopyFlags {
public enum BufferCopyFlags : uint {
None = 0,
Flags = 1,

View file

@ -9,7 +9,7 @@ namespace Gst {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.BufferFlagsGType))]
public enum BufferFlags {
public enum BufferFlags : uint {
Live = 16,
DecodeOnly = 32,

View file

@ -132,27 +132,10 @@ namespace Gst {
}
}
class FinalizerInfo {
IntPtr handle;
public FinalizerInfo (IntPtr handle)
{
this.handle = handle;
protected override Action<IntPtr> DisposeUnmanagedFunc {
get {
return gst_buffer_list_unref;
}
public bool Handler ()
{
gst_buffer_list_unref (handle);
return false;
}
}
~BufferList ()
{
if (!Owned)
return;
FinalizerInfo info = new FinalizerInfo (Handle);
GLib.Timeout.Add (50, new GLib.TimeoutHandler (info.Handler));
}

View file

@ -9,7 +9,7 @@ namespace Gst {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.BufferPoolAcquireFlagsGType))]
public enum BufferPoolAcquireFlags {
public enum BufferPoolAcquireFlags : uint {
None = 0,
KeyUnit = 1,

View file

@ -9,7 +9,7 @@ namespace Gst {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.BusFlagsGType))]
public enum BusFlags {
public enum BusFlags : uint {
Flushing = 16,
FlagLast = 32,

View file

@ -459,27 +459,10 @@ namespace Gst {
}
}
class FinalizerInfo {
IntPtr handle;
public FinalizerInfo (IntPtr handle)
{
this.handle = handle;
protected override Action<IntPtr> DisposeUnmanagedFunc {
get {
return gst_caps_unref;
}
public bool Handler ()
{
gst_caps_unref (handle);
return false;
}
}
~Caps ()
{
if (!Owned)
return;
FinalizerInfo info = new FinalizerInfo (Handle);
GLib.Timeout.Add (50, new GLib.TimeoutHandler (info.Handler));
}

View file

@ -9,7 +9,7 @@ namespace Gst {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.CapsFlagsGType))]
public enum CapsFlags {
public enum CapsFlags : uint {
Any = 16,
}

View file

@ -9,7 +9,7 @@ namespace Gst {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.ClockFlagsGType))]
public enum ClockFlags {
public enum ClockFlags : uint {
CanDoSingleSync = 16,
CanDoSingleAsync = 32,

View file

@ -317,27 +317,10 @@ namespace Gst {
}
}
class FinalizerInfo {
IntPtr handle;
public FinalizerInfo (IntPtr handle)
{
this.handle = handle;
protected override Action<IntPtr> DisposeUnmanagedFunc {
get {
return gst_date_time_unref;
}
public bool Handler ()
{
gst_date_time_unref (handle);
return false;
}
}
~DateTime ()
{
if (!Owned)
return;
FinalizerInfo info = new FinalizerInfo (Handle);
GLib.Timeout.Add (50, new GLib.TimeoutHandler (info.Handler));
}

View file

@ -9,7 +9,7 @@ namespace Gst {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.DebugColorFlagsGType))]
public enum DebugColorFlags {
public enum DebugColorFlags : uint {
FgBlack = 0,
BgBlack = 0,

View file

@ -9,7 +9,7 @@ namespace Gst {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.DebugGraphDetailsGType))]
public enum DebugGraphDetails {
public enum DebugGraphDetails : uint {
MediaType = 1,
CapsDetails = 2,

View file

@ -9,7 +9,7 @@ namespace Gst {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.ElementFlagsGType))]
public enum ElementFlags {
public enum ElementFlags : uint {
LockedState = 16,
Sink = 32,

View file

@ -719,27 +719,10 @@ namespace Gst {
}
}
class FinalizerInfo {
IntPtr handle;
public FinalizerInfo (IntPtr handle)
{
this.handle = handle;
protected override Action<IntPtr> DisposeUnmanagedFunc {
get {
return gst_event_unref;
}
public bool Handler ()
{
gst_event_unref (handle);
return false;
}
}
~Event ()
{
if (!Owned)
return;
FinalizerInfo info = new FinalizerInfo (Handle);
GLib.Timeout.Add (50, new GLib.TimeoutHandler (info.Handler));
}

View file

@ -9,7 +9,7 @@ namespace Gst {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.EventTypeFlagsGType))]
public enum EventTypeFlags {
public enum EventTypeFlags : uint {
Upstream = 1,
Downstream = 2,

View file

@ -9,7 +9,7 @@ namespace Gst {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.GapFlagsGType))]
public enum GapFlags {
public enum GapFlags : uint {
Data = 1,
}

View file

@ -262,27 +262,10 @@ namespace Gst {
gst_iterator_free (raw);
}
class FinalizerInfo {
IntPtr handle;
public FinalizerInfo (IntPtr handle)
{
this.handle = handle;
protected override Action<IntPtr> DisposeUnmanagedFunc {
get {
return gst_iterator_free;
}
public bool Handler ()
{
gst_iterator_free (handle);
return false;
}
}
~Iterator ()
{
if (!Owned)
return;
FinalizerInfo info = new FinalizerInfo (Handle);
GLib.Timeout.Add (50, new GLib.TimeoutHandler (info.Handler));
}

View file

@ -9,7 +9,7 @@ namespace Gst {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.LockFlagsGType))]
public enum LockFlags {
public enum LockFlags : uint {
Read = 1,
Write = 2,

View file

@ -9,7 +9,7 @@ namespace Gst {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.MapFlagsGType))]
public enum MapFlags {
public enum MapFlags : uint {
Read = 1,
Write = 2,

View file

@ -237,27 +237,10 @@ namespace Gst {
}
}
class FinalizerInfo {
IntPtr handle;
public FinalizerInfo (IntPtr handle)
{
this.handle = handle;
protected override Action<IntPtr> DisposeUnmanagedFunc {
get {
return gst_memory_unref;
}
public bool Handler ()
{
gst_memory_unref (handle);
return false;
}
}
~Memory ()
{
if (!Owned)
return;
FinalizerInfo info = new FinalizerInfo (Handle);
GLib.Timeout.Add (50, new GLib.TimeoutHandler (info.Handler));
}

View file

@ -9,7 +9,7 @@ namespace Gst {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.MemoryFlagsGType))]
public enum MemoryFlags {
public enum MemoryFlags : uint {
Readonly = 2,
NoShare = 16,

View file

@ -1024,27 +1024,10 @@ namespace Gst {
}
}
class FinalizerInfo {
IntPtr handle;
public FinalizerInfo (IntPtr handle)
{
this.handle = handle;
protected override Action<IntPtr> DisposeUnmanagedFunc {
get {
return gst_message_unref;
}
public bool Handler ()
{
gst_message_unref (handle);
return false;
}
}
~Message ()
{
if (!Owned)
return;
FinalizerInfo info = new FinalizerInfo (Handle);
GLib.Timeout.Add (50, new GLib.TimeoutHandler (info.Handler));
}

View file

@ -9,7 +9,7 @@ namespace Gst {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.MetaFlagsGType))]
public enum MetaFlags {
public enum MetaFlags : uint {
None = 0,
Readonly = 1,

View file

@ -206,27 +206,10 @@ namespace Gst {
}
}
class FinalizerInfo {
IntPtr handle;
public FinalizerInfo (IntPtr handle)
{
this.handle = handle;
protected override Action<IntPtr> DisposeUnmanagedFunc {
get {
return gst_mini_object_unref;
}
public bool Handler ()
{
gst_mini_object_unref (handle);
return false;
}
}
~MiniObject ()
{
if (!Owned)
return;
FinalizerInfo info = new FinalizerInfo (Handle);
GLib.Timeout.Add (50, new GLib.TimeoutHandler (info.Handler));
}

View file

@ -9,7 +9,7 @@ namespace Gst {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.MiniObjectFlagsGType))]
public enum MiniObjectFlags {
public enum MiniObjectFlags : uint {
Lockable = 1,
LockReadonly = 2,

View file

@ -9,7 +9,7 @@ namespace Gst {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.ObjectFlagsGType))]
public enum ObjectFlags {
public enum ObjectFlags : uint {
MayBeLeaked = 1,
Last = 16,

View file

@ -9,7 +9,7 @@ namespace Gst {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.PadFlagsGType))]
public enum PadFlags {
public enum PadFlags : uint {
Blocked = 16,
Flushing = 32,

View file

@ -9,7 +9,7 @@ namespace Gst {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.PadLinkCheckGType))]
public enum PadLinkCheck {
public enum PadLinkCheck : uint {
Nothing = 0,
Hierarchy = 1,

View file

@ -9,7 +9,7 @@ namespace Gst {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.PadProbeTypeGType))]
public enum PadProbeType {
public enum PadProbeType : uint {
Invalid = 0,
Idle = 1,

View file

@ -9,7 +9,7 @@ namespace Gst {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.PadTemplateFlagsGType))]
public enum PadTemplateFlags {
public enum PadTemplateFlags : uint {
Last = 256,
}

View file

@ -60,27 +60,10 @@ namespace Gst {
gst_parse_context_free (raw);
}
class FinalizerInfo {
IntPtr handle;
public FinalizerInfo (IntPtr handle)
{
this.handle = handle;
protected override Action<IntPtr> DisposeUnmanagedFunc {
get {
return gst_parse_context_free;
}
public bool Handler ()
{
gst_parse_context_free (handle);
return false;
}
}
~ParseContext ()
{
if (!Owned)
return;
FinalizerInfo info = new FinalizerInfo (Handle);
GLib.Timeout.Add (50, new GLib.TimeoutHandler (info.Handler));
}

View file

@ -9,7 +9,7 @@ namespace Gst {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.ParseFlagsGType))]
public enum ParseFlags {
public enum ParseFlags : uint {
None = 0,
FatalErrors = 1,

View file

@ -9,7 +9,7 @@ namespace Gst {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.PipelineFlagsGType))]
public enum PipelineFlags {
public enum PipelineFlags : uint {
FixedClock = 524288,
Last = 8388608,

View file

@ -9,7 +9,7 @@ namespace Gst {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.PluginAPIFlagsGType))]
public enum PluginAPIFlags {
public enum PluginAPIFlags : uint {
Members = 1,
}

View file

@ -9,7 +9,7 @@ namespace Gst {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.PluginDependencyFlagsGType))]
public enum PluginDependencyFlags {
public enum PluginDependencyFlags : uint {
None = 0,
Recurse = 1,

View file

@ -9,7 +9,7 @@ namespace Gst {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.PluginFlagsGType))]
public enum PluginFlags {
public enum PluginFlags : uint {
Cached = 16,
Blacklisted = 32,

View file

@ -203,27 +203,10 @@ namespace Gst {
gst_poll_free (raw);
}
class FinalizerInfo {
IntPtr handle;
public FinalizerInfo (IntPtr handle)
{
this.handle = handle;
protected override Action<IntPtr> DisposeUnmanagedFunc {
get {
return gst_poll_free;
}
public bool Handler ()
{
gst_poll_free (handle);
return false;
}
}
~Poll ()
{
if (!Owned)
return;
FinalizerInfo info = new FinalizerInfo (Handle);
GLib.Timeout.Add (50, new GLib.TimeoutHandler (info.Handler));
}

View file

@ -821,27 +821,10 @@ namespace Gst {
}
}
class FinalizerInfo {
IntPtr handle;
public FinalizerInfo (IntPtr handle)
{
this.handle = handle;
protected override Action<IntPtr> DisposeUnmanagedFunc {
get {
return gst_query_unref;
}
public bool Handler ()
{
gst_query_unref (handle);
return false;
}
}
~Query ()
{
if (!Owned)
return;
FinalizerInfo info = new FinalizerInfo (Handle);
GLib.Timeout.Add (50, new GLib.TimeoutHandler (info.Handler));
}

View file

@ -9,7 +9,7 @@ namespace Gst {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.QueryTypeFlagsGType))]
public enum QueryTypeFlags {
public enum QueryTypeFlags : uint {
Upstream = 1,
Downstream = 2,

View file

@ -148,27 +148,10 @@ namespace Gst {
}
}
class FinalizerInfo {
IntPtr handle;
public FinalizerInfo (IntPtr handle)
{
this.handle = handle;
protected override Action<IntPtr> DisposeUnmanagedFunc {
get {
return gst_sample_unref;
}
public bool Handler ()
{
gst_sample_unref (handle);
return false;
}
}
~Sample ()
{
if (!Owned)
return;
FinalizerInfo info = new FinalizerInfo (Handle);
GLib.Timeout.Add (50, new GLib.TimeoutHandler (info.Handler));
}

View file

@ -9,7 +9,7 @@ namespace Gst {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.SchedulingFlagsGType))]
public enum SchedulingFlags {
public enum SchedulingFlags : uint {
Seekable = 1,
Sequential = 2,

View file

@ -9,7 +9,7 @@ namespace Gst {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.SeekFlagsGType))]
public enum SeekFlags {
public enum SeekFlags : uint {
None = 0,
Flush = 1,

View file

@ -9,7 +9,7 @@ namespace Gst {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.SegmentFlagsGType))]
public enum SegmentFlags {
public enum SegmentFlags : uint {
None = 0,
Reset = 1,

View file

@ -9,7 +9,7 @@ namespace Gst {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.StackTraceFlagsGType))]
public enum StackTraceFlags {
public enum StackTraceFlags : uint {
None = 0,
Full = 1,

View file

@ -9,7 +9,7 @@ namespace Gst {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.StreamFlagsGType))]
public enum StreamFlags {
public enum StreamFlags : uint {
None = 0,
Sparse = 1,

View file

@ -9,7 +9,7 @@ namespace Gst {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.StreamTypeGType))]
public enum StreamType {
public enum StreamType : uint {
Unknown = 1,
Audio = 2,

View file

@ -631,27 +631,10 @@ namespace Gst {
gst_structure_free (raw);
}
class FinalizerInfo {
IntPtr handle;
public FinalizerInfo (IntPtr handle)
{
this.handle = handle;
protected override Action<IntPtr> DisposeUnmanagedFunc {
get {
return gst_structure_free;
}
public bool Handler ()
{
gst_structure_free (handle);
return false;
}
}
~Structure ()
{
if (!Owned)
return;
FinalizerInfo info = new FinalizerInfo (Handle);
GLib.Timeout.Add (50, new GLib.TimeoutHandler (info.Handler));
}

View file

@ -514,27 +514,10 @@ namespace Gst {
}
}
class FinalizerInfo {
IntPtr handle;
public FinalizerInfo (IntPtr handle)
{
this.handle = handle;
protected override Action<IntPtr> DisposeUnmanagedFunc {
get {
return gst_tag_list_unref;
}
public bool Handler ()
{
gst_tag_list_unref (handle);
return false;
}
}
~TagList ()
{
if (!Owned)
return;
FinalizerInfo info = new FinalizerInfo (Handle);
GLib.Timeout.Add (50, new GLib.TimeoutHandler (info.Handler));
}

View file

@ -9,7 +9,7 @@ namespace Gst {
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.TracerValueFlagsGType))]
public enum TracerValueFlags {
public enum TracerValueFlags : uint {
None = 0,
Optional = 1,

Some files were not shown because too many files have changed in this diff Show more