diff options
Diffstat (limited to 'sources/generated/Gst')
-rw-r--r-- | sources/generated/Gst/Constants.cs | 4 | ||||
-rw-r--r-- | sources/generated/Gst/ElementFactory.cs | 11 | ||||
-rw-r--r-- | sources/generated/Gst/Event.cs | 18 | ||||
-rw-r--r-- | sources/generated/Gst/Global.cs | 27 | ||||
-rw-r--r-- | sources/generated/Gst/Meta.cs | 15 | ||||
-rw-r--r-- | sources/generated/Gst/Parse.cs | 12 | ||||
-rw-r--r-- | sources/generated/Gst/Plugin.cs | 18 | ||||
-rw-r--r-- | sources/generated/Gst/Tag.cs | 18 | ||||
-rw-r--r-- | sources/generated/Gst/TypeFindFactory.cs | 11 |
9 files changed, 32 insertions, 102 deletions
diff --git a/sources/generated/Gst/Constants.cs b/sources/generated/Gst/Constants.cs index 9004575..f2c474d 100644 --- a/sources/generated/Gst/Constants.cs +++ b/sources/generated/Gst/Constants.cs @@ -165,8 +165,8 @@ namespace Gst { public const int VALUE_LESS_THAN = -1; public const int VALUE_UNORDERED = 2; public const int VERSION_MAJOR = 1; - public const int VERSION_MICRO = 90; - public const int VERSION_MINOR = 15; + public const int VERSION_MICRO = 0; + public const int VERSION_MINOR = 16; public const int VERSION_NANO = 0; #endregion } diff --git a/sources/generated/Gst/ElementFactory.cs b/sources/generated/Gst/ElementFactory.cs index 804036e..66cc7ef 100644 --- a/sources/generated/Gst/ElementFactory.cs +++ b/sources/generated/Gst/ElementFactory.cs @@ -197,17 +197,6 @@ namespace Gst { } [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] - static extern IntPtr gst_element_factory_get_uri_protocols(IntPtr raw); - - public string[] UriProtocols { - get { - IntPtr raw_ret = gst_element_factory_get_uri_protocols(Handle); - string[] ret = GLib.Marshaller.NullTermPtrToStringArray (raw_ret, false); - return ret; - } - } - - [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern int gst_element_factory_get_uri_type(IntPtr raw); public Gst.URIType UriType { diff --git a/sources/generated/Gst/Event.cs b/sources/generated/Gst/Event.cs index 5cdd234..4373e30 100644 --- a/sources/generated/Gst/Event.cs +++ b/sources/generated/Gst/Event.cs @@ -209,6 +209,15 @@ namespace Gst { } [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern void gst_event_parse_seek_trickmode_interval(IntPtr raw, out ulong interval); + + public ulong ParseSeekTrickmodeInterval() { + ulong interval; + gst_event_parse_seek_trickmode_interval(Handle, out interval); + return interval; + } + + [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern void gst_event_parse_segment(IntPtr raw, IntPtr segment); public Gst.Segment ParseSegment() { @@ -355,6 +364,15 @@ namespace Gst { } [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern void gst_event_set_seek_trickmode_interval(IntPtr raw, ulong interval); + + public ulong SeekTrickmodeInterval { + set { + gst_event_set_seek_trickmode_interval(Handle, value); + } + } + + [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern void gst_event_set_stream(IntPtr raw, IntPtr stream); public Gst.Stream Stream { diff --git a/sources/generated/Gst/Global.cs b/sources/generated/Gst/Global.cs index 4fe3c26..615d7c1 100644 --- a/sources/generated/Gst/Global.cs +++ b/sources/generated/Gst/Global.cs @@ -184,15 +184,6 @@ namespace Gst { } [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] - static extern IntPtr gst_meta_api_type_get_tags(IntPtr api); - - public static string[] MetaApiTypeGetTags(GLib.GType api) { - IntPtr raw_ret = gst_meta_api_type_get_tags(api.Val); - string[] ret = GLib.Marshaller.NullTermPtrToStringArray (raw_ret, false); - return ret; - } - - [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern bool gst_meta_api_type_has_tag(IntPtr api, uint tag); public static bool MetaApiTypeHasTag(GLib.GType api, uint tag) { @@ -209,15 +200,11 @@ namespace Gst { int cnt_tags = tags == null ? 0 : tags.Length; IntPtr[] native_tags = new IntPtr [cnt_tags + 1]; for (int i = 0; i < cnt_tags; i++) - native_tags [i] = GLib.Marshaller.StringToPtrGStrdup (tags[i]); + native_tags [i] = GLib.Marshaller.StringToPtrGStrdup(tags[i]); native_tags [cnt_tags] = IntPtr.Zero; IntPtr raw_ret = gst_meta_api_type_register(native_api, native_tags); GLib.GType ret = new GLib.GType(raw_ret); GLib.Marshaller.Free (native_api); - for (int i = 0; i < native_tags.Length - 1; i++) { - tags [i] = GLib.Marshaller.Utf8PtrToString (native_tags[i]); - GLib.Marshaller.Free (native_tags[i]); - } return ret; } @@ -303,14 +290,10 @@ namespace Gst { int cnt_system_identifiers = system_identifiers == null ? 0 : system_identifiers.Length; IntPtr[] native_system_identifiers = new IntPtr [cnt_system_identifiers + 1]; for (int i = 0; i < cnt_system_identifiers; i++) - native_system_identifiers [i] = GLib.Marshaller.StringToPtrGStrdup (system_identifiers[i]); + native_system_identifiers [i] = GLib.Marshaller.StringToPtrGStrdup(system_identifiers[i]); native_system_identifiers [cnt_system_identifiers] = IntPtr.Zero; IntPtr raw_ret = gst_protection_filter_systems_by_available_decryptors(native_system_identifiers); string[] ret = GLib.Marshaller.NullTermPtrToStringArray (raw_ret, true); - for (int i = 0; i < native_system_identifiers.Length - 1; i++) { - system_identifiers [i] = GLib.Marshaller.Utf8PtrToString (native_system_identifiers[i]); - GLib.Marshaller.Free (native_system_identifiers[i]); - } return ret; } @@ -339,14 +322,10 @@ namespace Gst { int cnt_system_identifiers = system_identifiers == null ? 0 : system_identifiers.Length; IntPtr[] native_system_identifiers = new IntPtr [cnt_system_identifiers + 1]; for (int i = 0; i < cnt_system_identifiers; i++) - native_system_identifiers [i] = GLib.Marshaller.StringToPtrGStrdup (system_identifiers[i]); + native_system_identifiers [i] = GLib.Marshaller.StringToPtrGStrdup(system_identifiers[i]); native_system_identifiers [cnt_system_identifiers] = IntPtr.Zero; IntPtr raw_ret = gst_protection_select_system(native_system_identifiers); string ret = GLib.Marshaller.Utf8PtrToString (raw_ret); - for (int i = 0; i < native_system_identifiers.Length - 1; i++) { - system_identifiers [i] = GLib.Marshaller.Utf8PtrToString (native_system_identifiers[i]); - GLib.Marshaller.Free (native_system_identifiers[i]); - } return ret; } diff --git a/sources/generated/Gst/Meta.cs b/sources/generated/Gst/Meta.cs index b6d205d..a84364e 100644 --- a/sources/generated/Gst/Meta.cs +++ b/sources/generated/Gst/Meta.cs @@ -58,15 +58,6 @@ namespace Gst { } [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] - static extern IntPtr gst_meta_api_type_get_tags(IntPtr api); - - public static string[] ApiTypeGetTags(GLib.GType api) { - IntPtr raw_ret = gst_meta_api_type_get_tags(api.Val); - string[] ret = GLib.Marshaller.NullTermPtrToStringArray (raw_ret, false); - return ret; - } - - [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern bool gst_meta_api_type_has_tag(IntPtr api, uint tag); public static bool ApiTypeHasTag(GLib.GType api, uint tag) { @@ -83,15 +74,11 @@ namespace Gst { int cnt_tags = tags == null ? 0 : tags.Length; IntPtr[] native_tags = new IntPtr [cnt_tags + 1]; for (int i = 0; i < cnt_tags; i++) - native_tags [i] = GLib.Marshaller.StringToPtrGStrdup (tags[i]); + native_tags [i] = GLib.Marshaller.StringToPtrGStrdup(tags[i]); native_tags [cnt_tags] = IntPtr.Zero; IntPtr raw_ret = gst_meta_api_type_register(native_api, native_tags); GLib.GType ret = new GLib.GType(raw_ret); GLib.Marshaller.Free (native_api); - for (int i = 0; i < native_tags.Length - 1; i++) { - tags [i] = GLib.Marshaller.Utf8PtrToString (native_tags[i]); - GLib.Marshaller.Free (native_tags[i]); - } return ret; } diff --git a/sources/generated/Gst/Parse.cs b/sources/generated/Gst/Parse.cs index b115b7b..51a6d11 100644 --- a/sources/generated/Gst/Parse.cs +++ b/sources/generated/Gst/Parse.cs @@ -85,15 +85,11 @@ namespace Gst { int cnt_argv = argv == null ? 0 : argv.Length; IntPtr[] native_argv = new IntPtr [cnt_argv + 1]; for (int i = 0; i < cnt_argv; i++) - native_argv [i] = GLib.Marshaller.StringToPtrGStrdup (argv[i]); + native_argv [i] = GLib.Marshaller.StringToPtrGStrdup(argv[i]); native_argv [cnt_argv] = IntPtr.Zero; IntPtr error = IntPtr.Zero; IntPtr raw_ret = gst_parse_launchv(native_argv, out error); Gst.Element ret = GLib.Object.GetObject(raw_ret) as Gst.Element; - for (int i = 0; i < native_argv.Length - 1; i++) { - argv [i] = GLib.Marshaller.Utf8PtrToString (native_argv[i]); - GLib.Marshaller.Free (native_argv[i]); - } if (error != IntPtr.Zero) throw new GLib.GException (error); return ret; } @@ -105,15 +101,11 @@ namespace Gst { int cnt_argv = argv == null ? 0 : argv.Length; IntPtr[] native_argv = new IntPtr [cnt_argv + 1]; for (int i = 0; i < cnt_argv; i++) - native_argv [i] = GLib.Marshaller.StringToPtrGStrdup (argv[i]); + native_argv [i] = GLib.Marshaller.StringToPtrGStrdup(argv[i]); native_argv [cnt_argv] = IntPtr.Zero; IntPtr error = IntPtr.Zero; IntPtr raw_ret = gst_parse_launchv_full(native_argv, context == null ? IntPtr.Zero : context.Handle, (int) flags, out error); Gst.Element ret = GLib.Object.GetObject(raw_ret) as Gst.Element; - for (int i = 0; i < native_argv.Length - 1; i++) { - argv [i] = GLib.Marshaller.Utf8PtrToString (native_argv[i]); - GLib.Marshaller.Free (native_argv[i]); - } if (error != IntPtr.Zero) throw new GLib.GException (error); return ret; } diff --git a/sources/generated/Gst/Plugin.cs b/sources/generated/Gst/Plugin.cs index c1c5299..bd1e166 100644 --- a/sources/generated/Gst/Plugin.cs +++ b/sources/generated/Gst/Plugin.cs @@ -130,31 +130,19 @@ namespace Gst { int cnt_env_vars = env_vars == null ? 0 : env_vars.Length; IntPtr[] native_env_vars = new IntPtr [cnt_env_vars + 1]; for (int i = 0; i < cnt_env_vars; i++) - native_env_vars [i] = GLib.Marshaller.StringToPtrGStrdup (env_vars[i]); + native_env_vars [i] = GLib.Marshaller.StringToPtrGStrdup(env_vars[i]); native_env_vars [cnt_env_vars] = IntPtr.Zero; int cnt_paths = paths == null ? 0 : paths.Length; IntPtr[] native_paths = new IntPtr [cnt_paths + 1]; for (int i = 0; i < cnt_paths; i++) - native_paths [i] = GLib.Marshaller.StringToPtrGStrdup (paths[i]); + native_paths [i] = GLib.Marshaller.StringToPtrGStrdup(paths[i]); native_paths [cnt_paths] = IntPtr.Zero; int cnt_names = names == null ? 0 : names.Length; IntPtr[] native_names = new IntPtr [cnt_names + 1]; for (int i = 0; i < cnt_names; i++) - native_names [i] = GLib.Marshaller.StringToPtrGStrdup (names[i]); + native_names [i] = GLib.Marshaller.StringToPtrGStrdup(names[i]); native_names [cnt_names] = IntPtr.Zero; gst_plugin_add_dependency(Handle, native_env_vars, native_paths, native_names, (int) flags); - for (int i = 0; i < native_env_vars.Length - 1; i++) { - env_vars [i] = GLib.Marshaller.Utf8PtrToString (native_env_vars[i]); - GLib.Marshaller.Free (native_env_vars[i]); - } - for (int i = 0; i < native_paths.Length - 1; i++) { - paths [i] = GLib.Marshaller.Utf8PtrToString (native_paths[i]); - GLib.Marshaller.Free (native_paths[i]); - } - for (int i = 0; i < native_names.Length - 1; i++) { - names [i] = GLib.Marshaller.Utf8PtrToString (native_names[i]); - GLib.Marshaller.Free (native_names[i]); - } } public void AddDependency(Gst.PluginDependencyFlags flags) { diff --git a/sources/generated/Gst/Tag.cs b/sources/generated/Gst/Tag.cs index 77000e0..128dfd3 100644 --- a/sources/generated/Gst/Tag.cs +++ b/sources/generated/Gst/Tag.cs @@ -135,22 +135,14 @@ namespace Gst { int cnt_data = data == null ? 0 : data.Length; IntPtr[] native_data = new IntPtr [cnt_data]; for (int i = 0; i < cnt_data; i++) - native_data [i] = GLib.Marshaller.StringToPtrGStrdup (data[i]); + native_data [i] = GLib.Marshaller.StringToPtrGStrdup(data[i]); int cnt_env_vars = env_vars == null ? 0 : env_vars.Length; IntPtr[] native_env_vars = new IntPtr [cnt_env_vars + 1]; for (int i = 0; i < cnt_env_vars; i++) - native_env_vars [i] = GLib.Marshaller.StringToPtrGStrdup (env_vars[i]); + native_env_vars [i] = GLib.Marshaller.StringToPtrGStrdup(env_vars[i]); native_env_vars [cnt_env_vars] = IntPtr.Zero; IntPtr raw_ret = gst_tag_freeform_string_to_utf8(native_data, size, native_env_vars); string ret = GLib.Marshaller.PtrToStringGFree(raw_ret); - for (int i = 0; i < native_data.Length; i++) { - data [i] = GLib.Marshaller.Utf8PtrToString (native_data[i]); - GLib.Marshaller.Free (native_data[i]); - } - for (int i = 0; i < native_env_vars.Length - 1; i++) { - env_vars [i] = GLib.Marshaller.Utf8PtrToString (native_env_vars[i]); - GLib.Marshaller.Free (native_env_vars[i]); - } return ret; } @@ -470,14 +462,10 @@ namespace Gst { int cnt_schemas = schemas == null ? 0 : schemas.Length; IntPtr[] native_schemas = new IntPtr [cnt_schemas + 1]; for (int i = 0; i < cnt_schemas; i++) - native_schemas [i] = GLib.Marshaller.StringToPtrGStrdup (schemas[i]); + native_schemas [i] = GLib.Marshaller.StringToPtrGStrdup(schemas[i]); native_schemas [cnt_schemas] = IntPtr.Zero; IntPtr raw_ret = gst_tag_list_to_xmp_buffer(list == null ? IntPtr.Zero : list.Handle, read_only, native_schemas); Gst.Buffer ret = raw_ret == IntPtr.Zero ? null : (Gst.Buffer) GLib.Opaque.GetOpaque (raw_ret, typeof (Gst.Buffer), true); - for (int i = 0; i < native_schemas.Length - 1; i++) { - schemas [i] = GLib.Marshaller.Utf8PtrToString (native_schemas[i]); - GLib.Marshaller.Free (native_schemas[i]); - } return ret; } diff --git a/sources/generated/Gst/TypeFindFactory.cs b/sources/generated/Gst/TypeFindFactory.cs index b39c38e..db36fed 100644 --- a/sources/generated/Gst/TypeFindFactory.cs +++ b/sources/generated/Gst/TypeFindFactory.cs @@ -74,17 +74,6 @@ namespace Gst { } [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] - static extern IntPtr gst_type_find_factory_get_extensions(IntPtr raw); - - public string[] Extensions { - get { - IntPtr raw_ret = gst_type_find_factory_get_extensions(Handle); - string[] ret = GLib.Marshaller.NullTermPtrToStringArray (raw_ret, false); - return ret; - } - } - - [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern bool gst_type_find_factory_has_function(IntPtr raw); public bool HasFunction { |