diff options
Diffstat (limited to 'sources/generated/Gst.Video/VideoDecoder.cs')
-rw-r--r-- | sources/generated/Gst.Video/VideoDecoder.cs | 35 |
1 files changed, 18 insertions, 17 deletions
diff --git a/sources/generated/Gst.Video/VideoDecoder.cs b/sources/generated/Gst.Video/VideoDecoder.cs index b3598ac..9856f49 100644 --- a/sources/generated/Gst.Video/VideoDecoder.cs +++ b/sources/generated/Gst.Video/VideoDecoder.cs @@ -18,6 +18,24 @@ namespace Gst.Video { CreateNativeObject (new string [0], new GLib.Value [0]); } + [DllImport("gstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern int gst_video_decoder_get_max_errors(IntPtr raw); + + [DllImport("gstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern void gst_video_decoder_set_max_errors(IntPtr raw, int num); + + [GLib.Property ("max-errors")] + public int MaxErrors { + get { + int raw_ret = gst_video_decoder_get_max_errors(Handle); + int ret = raw_ret; + return ret; + } + set { + gst_video_decoder_set_max_errors(Handle, value); + } + } + [GLib.Property ("qos")] public bool Qos { get { @@ -1533,23 +1551,6 @@ namespace Gst.Video { } [DllImport("gstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] - static extern int gst_video_decoder_get_max_errors(IntPtr raw); - - [DllImport("gstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] - static extern void gst_video_decoder_set_max_errors(IntPtr raw, int num); - - public int MaxErrors { - get { - int raw_ret = gst_video_decoder_get_max_errors(Handle); - int ret = raw_ret; - return ret; - } - set { - gst_video_decoder_set_max_errors(Handle, value); - } - } - - [DllImport("gstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern bool gst_video_decoder_get_needs_format(IntPtr raw); [DllImport("gstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] |