summaryrefslogtreecommitdiff
path: root/sources/generated/Gst.Video/VideoEncoder.cs
diff options
context:
space:
mode:
authorThibault Saunier <tsaunier@igalia.com>2020-06-17 14:36:28 -0400
committerThibault Saunier <tsaunier@igalia.com>2020-06-17 21:16:40 -0400
commitc70e5494b32d144f4f6a6ab0ef8b6ad3e09ce98e (patch)
tree991c875537e2799acd64914592f9a829e12fdb0d /sources/generated/Gst.Video/VideoEncoder.cs
parenta088475b9d22c6c6ce7b7dee24262dd8aab48342 (diff)
Update GStreamer
Diffstat (limited to 'sources/generated/Gst.Video/VideoEncoder.cs')
-rw-r--r--sources/generated/Gst.Video/VideoEncoder.cs29
1 files changed, 29 insertions, 0 deletions
diff --git a/sources/generated/Gst.Video/VideoEncoder.cs b/sources/generated/Gst.Video/VideoEncoder.cs
index 931e701..72f8991 100644
--- a/sources/generated/Gst.Video/VideoEncoder.cs
+++ b/sources/generated/Gst.Video/VideoEncoder.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 ulong gst_video_encoder_get_min_force_key_unit_interval(IntPtr raw);
+
+ [DllImport("gstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
+ static extern void gst_video_encoder_set_min_force_key_unit_interval(IntPtr raw, ulong interval);
+
+ [GLib.Property ("min-force-key-unit-interval")]
+ public ulong MinForceKeyUnitInterval {
+ get {
+ ulong raw_ret = gst_video_encoder_get_min_force_key_unit_interval(Handle);
+ ulong ret = raw_ret;
+ return ret;
+ }
+ set {
+ gst_video_encoder_set_min_force_key_unit_interval(Handle, value);
+ }
+ }
+
[GLib.Property ("qos")]
public bool Qos {
get {
@@ -1364,6 +1382,17 @@ namespace Gst.Video {
}
[DllImport("gstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
+ static extern int gst_video_encoder_finish_subframe(IntPtr raw, IntPtr frame);
+
+ public Gst.FlowReturn FinishSubframe(Gst.Video.VideoCodecFrame frame) {
+ IntPtr native_frame = GLib.Marshaller.StructureToPtrAlloc (frame);
+ int raw_ret = gst_video_encoder_finish_subframe(Handle, native_frame);
+ Gst.FlowReturn ret = (Gst.FlowReturn) raw_ret;
+ Marshal.FreeHGlobal (native_frame);
+ return ret;
+ }
+
+ [DllImport("gstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_video_encoder_get_allocator(IntPtr raw, out IntPtr allocator, IntPtr parms);
public void GetAllocator(out Gst.Allocator allocator, out Gst.AllocationParams parms) {