summaryrefslogtreecommitdiff
path: root/sources/generated/Gst.Video/VideoInfo.cs
diff options
context:
space:
mode:
Diffstat (limited to 'sources/generated/Gst.Video/VideoInfo.cs')
-rw-r--r--sources/generated/Gst.Video/VideoInfo.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/sources/generated/Gst.Video/VideoInfo.cs b/sources/generated/Gst.Video/VideoInfo.cs
index a05f908..db26368 100644
--- a/sources/generated/Gst.Video/VideoInfo.cs
+++ b/sources/generated/Gst.Video/VideoInfo.cs
@@ -281,6 +281,15 @@ namespace Gst.Video {
}
[DllImport("libgstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
+ static extern bool gst_video_info_set_interlaced_format(IntPtr raw, int format, int mode, uint width, uint height);
+
+ public bool SetInterlacedFormat(Gst.Video.VideoFormat format, Gst.Video.VideoInterlaceMode mode, uint width, uint height) {
+ bool raw_ret = gst_video_info_set_interlaced_format(Handle, (int) format, (int) mode, width, height);
+ bool ret = raw_ret;
+ return ret;
+ }
+
+ [DllImport("libgstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_video_info_to_caps(IntPtr raw);
public Gst.Caps ToCaps() {