mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
Added glue Added dynamic signals Regenerated API
This commit is contained in:
parent
9b318234af
commit
3d42f7d625
11 changed files with 729 additions and 181 deletions
|
@ -1,4 +1,4 @@
|
||||||
SUBDIRS = sources doc
|
SUBDIRS = sources sources/glue doc
|
||||||
|
|
||||||
pkgconfigdir = $(libdir)/pkgconfig
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
pkgconfig_DATA = gst-sharp-1.0.pc
|
pkgconfig_DATA = gst-sharp-1.0.pc
|
||||||
|
|
|
@ -4,6 +4,7 @@ AC_CANONICAL_TARGET
|
||||||
AM_INIT_AUTOMAKE
|
AM_INIT_AUTOMAKE
|
||||||
AM_MAINTAINER_MODE
|
AM_MAINTAINER_MODE
|
||||||
AC_PROG_INSTALL
|
AC_PROG_INSTALL
|
||||||
|
LT_INIT
|
||||||
|
|
||||||
dnl Package settings
|
dnl Package settings
|
||||||
ASSEMBLY_COMPANY=""
|
ASSEMBLY_COMPANY=""
|
||||||
|
@ -133,12 +134,15 @@ dnl Check for Gst
|
||||||
PKG_CHECK_MODULES(GST, gstreamer-1.0)
|
PKG_CHECK_MODULES(GST, gstreamer-1.0)
|
||||||
gst_prefix=/usr
|
gst_prefix=/usr
|
||||||
AC_SUBST(gst_prefix)
|
AC_SUBST(gst_prefix)
|
||||||
|
AC_SUBST(GST_LIBS)
|
||||||
|
AC_SUBST(GST_CFLAGS)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
AC_CONFIG_FILES([
|
AC_CONFIG_FILES([
|
||||||
Makefile
|
Makefile
|
||||||
sources/Makefile
|
sources/Makefile
|
||||||
|
sources/glue/Makefile
|
||||||
sources/AssemblyInfo.cs
|
sources/AssemblyInfo.cs
|
||||||
gst-sharp-1.0.pc
|
gst-sharp-1.0.pc
|
||||||
doc/Makefile
|
doc/Makefile
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
<configuration>
|
<configuration>
|
||||||
<dllmap dll="gstreamer-1.0" target="libgstreamer-1.0.so.0"/>
|
<dllmap dll="gstreamer-1.0" target="libgstreamer-1.0.so.0"/>
|
||||||
|
<dllmap dll="libglib-2.0-0.dll" target="libglib-2.0.so.0"/>
|
||||||
|
<dllmap dll="libgobject-2.0-0.dll" target="libgobject-2.0.so.0"/>
|
||||||
|
<dllmap dll="libgthread-2.0-0.dll" target="libgthread-2.0.so.0"/>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
|
|
@ -3,6 +3,7 @@ API = $(ASSEMBLY_NAME)-api.xml
|
||||||
METADATA = $(ASSEMBLY_NAME).metadata
|
METADATA = $(ASSEMBLY_NAME).metadata
|
||||||
DLL = $(top_srcdir)/out/$(ASSEMBLY_NAME).dll
|
DLL = $(top_srcdir)/out/$(ASSEMBLY_NAME).dll
|
||||||
DLLMAP = $(top_srcdir)/out/$(ASSEMBLY_NAME).dll.config
|
DLLMAP = $(top_srcdir)/out/$(ASSEMBLY_NAME).dll.config
|
||||||
|
GLUEDIR = $(srcdir)/glue
|
||||||
|
|
||||||
sources = custom/*.cs
|
sources = custom/*.cs
|
||||||
|
|
||||||
|
@ -31,6 +32,8 @@ $(API): $(srcdir)/$(RAW_API) $(srcdir)/$(METADATA)
|
||||||
generated-stamp: $(API)
|
generated-stamp: $(API)
|
||||||
$(GAPI_CODEGEN) --generate $(srcdir)/$(API) $(GTK_SHARP_CFLAGS) \
|
$(GAPI_CODEGEN) --generate $(srcdir)/$(API) $(GTK_SHARP_CFLAGS) \
|
||||||
--outdir=generated \
|
--outdir=generated \
|
||||||
|
--glue-filename=$(GLUEDIR)/generated.c --gluelib-name=libgstsharpglue-1.0.6.so \
|
||||||
|
--glue-includes=gst/gst.h \
|
||||||
--assembly-name=$(ASSEMBLY_NAME) && touch generated-stamp
|
--assembly-name=$(ASSEMBLY_NAME) && touch generated-stamp
|
||||||
|
|
||||||
$(DLL): $(build_sources) generated-stamp
|
$(DLL): $(build_sources) generated-stamp
|
||||||
|
|
429
sources/custom/DynamicSignal.cs
Normal file
429
sources/custom/DynamicSignal.cs
Normal file
|
@ -0,0 +1,429 @@
|
||||||
|
// This library is free software; you can redistribute it and/or
|
||||||
|
// modify it under the terms of the GNU Lesser General Public
|
||||||
|
// License as published by the Free Software Foundation; either
|
||||||
|
// version 2.1 of the License, or (at your option) any later version.
|
||||||
|
//
|
||||||
|
// This library is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
// Lesser General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU Lesser General Public
|
||||||
|
// License along with this library; if not, write to the Free Software
|
||||||
|
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
|
//
|
||||||
|
//
|
||||||
|
// Copyright (C) 2006 Novell Inc.
|
||||||
|
// Copyright (C) 2009 Sebastian Dröge <sebastian.droege@collabora.co.uk>
|
||||||
|
// Copyright (C) 2013 Stephan Sundermann <stephansundermann@gmail.com>
|
||||||
|
//
|
||||||
|
// This class implements functions to bind callbacks to GObject signals
|
||||||
|
// dynamically and to emit signals dynamically.
|
||||||
|
//
|
||||||
|
//
|
||||||
|
|
||||||
|
using GLib;
|
||||||
|
using System;
|
||||||
|
using System.Reflection;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
using System.Collections;
|
||||||
|
|
||||||
|
namespace Gst {
|
||||||
|
|
||||||
|
delegate void GClosureMarshal (IntPtr closure, ref GLib.Value retval, uint argc, IntPtr argsPtr,
|
||||||
|
IntPtr invocation_hint, IntPtr data);
|
||||||
|
|
||||||
|
public delegate void SignalHandler (object o, SignalArgs args);
|
||||||
|
|
||||||
|
public static class DynamicSignal {
|
||||||
|
|
||||||
|
private static readonly int gvalue_struct_size = Marshal.SizeOf (typeof (GLib.Value));
|
||||||
|
|
||||||
|
class ObjectSignalKey {
|
||||||
|
object o;
|
||||||
|
string signal_name;
|
||||||
|
|
||||||
|
public ObjectSignalKey (object o, string name) {
|
||||||
|
this.o = o;
|
||||||
|
signal_name = name;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool Equals (object o) {
|
||||||
|
if (o is ObjectSignalKey) {
|
||||||
|
ObjectSignalKey k = (ObjectSignalKey) o;
|
||||||
|
return k.o.Equals (this.o) && signal_name.Equals (k.signal_name);
|
||||||
|
}
|
||||||
|
return base.Equals (o);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override int GetHashCode() {
|
||||||
|
return o.GetHashCode() ^ signal_name.GetHashCode();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
class SignalInfo {
|
||||||
|
uint handlerId;
|
||||||
|
IntPtr closure;
|
||||||
|
Delegate registeredHandler;
|
||||||
|
Type argsType;
|
||||||
|
|
||||||
|
public IntPtr Closure {
|
||||||
|
get {
|
||||||
|
return closure;
|
||||||
|
} set {
|
||||||
|
closure = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public uint HandlerId {
|
||||||
|
get {
|
||||||
|
return handlerId;
|
||||||
|
} set {
|
||||||
|
handlerId = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public Delegate RegisteredHandler {
|
||||||
|
get {
|
||||||
|
return registeredHandler;
|
||||||
|
} set {
|
||||||
|
registeredHandler = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public Type ArgsType {
|
||||||
|
get {
|
||||||
|
return argsType;
|
||||||
|
} set {
|
||||||
|
argsType = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public SignalInfo (uint handlerId, IntPtr closure, Delegate registeredHandler) {
|
||||||
|
this.handlerId = handlerId;
|
||||||
|
this.closure = closure;
|
||||||
|
this.registeredHandler = registeredHandler;
|
||||||
|
|
||||||
|
if (!IsValidDelegate (registeredHandler))
|
||||||
|
throw new Exception ("Invalid delegate");
|
||||||
|
|
||||||
|
MethodInfo mi = registeredHandler.Method;
|
||||||
|
ParameterInfo[] parms = mi.GetParameters ();
|
||||||
|
this.argsType = parms[1].ParameterType;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void UpdateArgsType (Delegate d) {
|
||||||
|
if (!IsCompatibleDelegate (d))
|
||||||
|
throw new Exception ("Incompatible delegate");
|
||||||
|
|
||||||
|
MethodInfo mi = d.Method;
|
||||||
|
ParameterInfo[] parms = mi.GetParameters ();
|
||||||
|
|
||||||
|
Type t1 = parms[1].ParameterType;
|
||||||
|
Type t2 = argsType;
|
||||||
|
|
||||||
|
if (t1 == t2)
|
||||||
|
return;
|
||||||
|
|
||||||
|
if (t1.IsSubclassOf (t2))
|
||||||
|
argsType = t1;
|
||||||
|
else if (t2.IsSubclassOf (t1))
|
||||||
|
argsType = t2;
|
||||||
|
else
|
||||||
|
throw new Exception ("Incompatible delegate");
|
||||||
|
}
|
||||||
|
|
||||||
|
public bool IsCompatibleDelegate (Delegate d) {
|
||||||
|
if (!IsValidDelegate (d))
|
||||||
|
return false;
|
||||||
|
|
||||||
|
MethodInfo mi = d.Method;
|
||||||
|
ParameterInfo[] parms = mi.GetParameters ();
|
||||||
|
|
||||||
|
if (parms[1].ParameterType != this.argsType &&
|
||||||
|
!parms[1].ParameterType.IsSubclassOf (this.argsType) &&
|
||||||
|
!this.argsType.IsSubclassOf (parms[1].ParameterType))
|
||||||
|
return false;
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static bool IsValidDelegate (Delegate d) {
|
||||||
|
MethodInfo mi = d.Method;
|
||||||
|
|
||||||
|
if (mi.ReturnType != typeof (void))
|
||||||
|
return false;
|
||||||
|
|
||||||
|
ParameterInfo[] parms = mi.GetParameters ();
|
||||||
|
if (parms.Length != 2)
|
||||||
|
return false;
|
||||||
|
|
||||||
|
if (parms[1].ParameterType != typeof (GLib.SignalArgs) &&
|
||||||
|
!parms[1].ParameterType.IsSubclassOf (typeof (GLib.SignalArgs)))
|
||||||
|
return false;
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
static Hashtable SignalHandlers = new Hashtable();
|
||||||
|
|
||||||
|
static GClosureMarshal marshalHandler = new GClosureMarshal (OnMarshal);
|
||||||
|
|
||||||
|
public static void Connect (GLib.Object o, string name, SignalHandler handler) {
|
||||||
|
Connect (o, name, false, (Delegate) handler);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void Connect (GLib.Object o, string name,
|
||||||
|
bool after, SignalHandler handler) {
|
||||||
|
Connect (o, name, after, (Delegate) handler);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void Connect (GLib.Object o, string name, Delegate handler) {
|
||||||
|
Connect (o, name, false, handler);
|
||||||
|
}
|
||||||
|
|
||||||
|
static int g_closure_sizeof = gstsharp_g_closure_sizeof ();
|
||||||
|
|
||||||
|
public static void Connect (GLib.Object o, string name,
|
||||||
|
bool after, Delegate handler) {
|
||||||
|
Delegate newHandler;
|
||||||
|
|
||||||
|
ObjectSignalKey k = new ObjectSignalKey (o, name);
|
||||||
|
|
||||||
|
if (!SignalInfo.IsValidDelegate (handler))
|
||||||
|
throw new Exception ("Invalid delegate");
|
||||||
|
|
||||||
|
if (SignalHandlers[k] != null) {
|
||||||
|
SignalInfo si = (SignalInfo) SignalHandlers[k];
|
||||||
|
if (!si.IsCompatibleDelegate (handler))
|
||||||
|
throw new Exception ("Incompatible delegate");
|
||||||
|
|
||||||
|
newHandler = Delegate.Combine (si.RegisteredHandler, handler);
|
||||||
|
si.UpdateArgsType (handler);
|
||||||
|
si.RegisteredHandler = newHandler;
|
||||||
|
} else {
|
||||||
|
if (!SignalInfo.IsValidDelegate (handler))
|
||||||
|
throw new Exception ("Invalid delegate");
|
||||||
|
|
||||||
|
IntPtr closure = g_closure_new_simple (g_closure_sizeof, IntPtr.Zero);
|
||||||
|
g_closure_set_meta_marshal (closure, (IntPtr) GCHandle.Alloc (k), marshalHandler);
|
||||||
|
uint signalId = g_signal_connect_closure (o.Handle, name, closure, after);
|
||||||
|
SignalHandlers.Add (k, new SignalInfo (signalId, closure, handler));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[DllImport ("libgstsharpglue-1.0.6.dll") ]
|
||||||
|
static extern int gstsharp_g_closure_sizeof ();
|
||||||
|
|
||||||
|
public static void Disconnect (GLib.Object o, string name, Delegate handler) {
|
||||||
|
ObjectSignalKey k = new ObjectSignalKey (o, name);
|
||||||
|
if (SignalHandlers[k] != null) {
|
||||||
|
SignalInfo si = (SignalInfo) SignalHandlers[k];
|
||||||
|
Delegate newHandler = Delegate.Remove (si.RegisteredHandler, handler);
|
||||||
|
if (newHandler == null || handler == null) {
|
||||||
|
g_signal_handler_disconnect (o.Handle, si.HandlerId);
|
||||||
|
SignalHandlers.Remove (k);
|
||||||
|
} else {
|
||||||
|
si.RegisteredHandler = newHandler;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
static void OnMarshal (IntPtr closure, ref GLib.Value retval, uint argc, IntPtr argsPtr,
|
||||||
|
IntPtr ihint, IntPtr data) {
|
||||||
|
object [] args = new object[argc - 1];
|
||||||
|
object o = ( (GLib.Value) Marshal.PtrToStructure (argsPtr, typeof (GLib.Value))).Val;
|
||||||
|
|
||||||
|
for (int i = 1; i < argc; i++) {
|
||||||
|
IntPtr struct_ptr = (IntPtr) ( (long) argsPtr + (i * gvalue_struct_size));
|
||||||
|
GLib.Value argument = (GLib.Value) Marshal.PtrToStructure (struct_ptr, typeof (GLib.Value));
|
||||||
|
args[i - 1] = argument.Val;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (data == IntPtr.Zero) {
|
||||||
|
Console.Error.WriteLine ("No available data");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
ObjectSignalKey k = (ObjectSignalKey) ( (GCHandle) data).Target;
|
||||||
|
if (k != null) {
|
||||||
|
SignalInfo si = (SignalInfo) SignalHandlers[k];
|
||||||
|
GLib.SignalArgs arg = (GLib.SignalArgs) Activator.CreateInstance (si.ArgsType);
|
||||||
|
arg.Args = args;
|
||||||
|
si.RegisteredHandler.DynamicInvoke (new object[] {o, arg});
|
||||||
|
if (arg.RetVal != null) {
|
||||||
|
retval.Val = arg.RetVal;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
[DllImport ("libgobject-2.0-0.dll") ]
|
||||||
|
static extern IntPtr g_closure_new_simple (int size, IntPtr data);
|
||||||
|
|
||||||
|
[DllImport ("libgobject-2.0-0.dll") ]
|
||||||
|
static extern uint g_signal_connect_closure (IntPtr instance,
|
||||||
|
string name, IntPtr closure, bool after);
|
||||||
|
|
||||||
|
[DllImport ("libgobject-2.0-0.dll") ]
|
||||||
|
static extern void g_closure_set_meta_marshal (IntPtr closure, IntPtr data, GClosureMarshal marshal);
|
||||||
|
|
||||||
|
class GTypeSignalKey {
|
||||||
|
GType type;
|
||||||
|
string signal_name;
|
||||||
|
|
||||||
|
public GTypeSignalKey (GType type, string name) {
|
||||||
|
this.type = type;
|
||||||
|
signal_name = name;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool Equals (object o) {
|
||||||
|
if (o is GTypeSignalKey) {
|
||||||
|
GTypeSignalKey k = (GTypeSignalKey) o;
|
||||||
|
return k.type.Equals (this.type) && signal_name.Equals (k.signal_name);
|
||||||
|
}
|
||||||
|
return base.Equals (o);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override int GetHashCode() {
|
||||||
|
return type.GetHashCode() ^ signal_name.GetHashCode();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
struct SignalQuery {
|
||||||
|
public uint signal_id;
|
||||||
|
public string signal_name;
|
||||||
|
public GType itype;
|
||||||
|
public uint signal_flags;
|
||||||
|
public GType return_type;
|
||||||
|
public uint n_params;
|
||||||
|
public Type[] param_types;
|
||||||
|
}
|
||||||
|
|
||||||
|
static Hashtable SignalEmitInfo = new Hashtable ();
|
||||||
|
|
||||||
|
public static object Emit (GLib.Object o, string name, params object[] parameters) {
|
||||||
|
SignalQuery query;
|
||||||
|
IntPtr type = gstsharp_g_type_from_instance (o.Handle);
|
||||||
|
GType gtype = new GType (type);
|
||||||
|
string signal_name, signal_detail;
|
||||||
|
uint signal_detail_quark = 0;
|
||||||
|
int colon;
|
||||||
|
|
||||||
|
colon = name.LastIndexOf ("::");
|
||||||
|
|
||||||
|
if (colon == -1) {
|
||||||
|
signal_name = name;
|
||||||
|
signal_detail = String.Empty;
|
||||||
|
} else {
|
||||||
|
signal_name = name.Substring (0, colon);
|
||||||
|
signal_detail = name.Substring (colon + 2);
|
||||||
|
}
|
||||||
|
|
||||||
|
GTypeSignalKey key = new GTypeSignalKey (gtype, signal_name);
|
||||||
|
|
||||||
|
if (SignalEmitInfo[key] == null) {
|
||||||
|
IntPtr native_string = GLib.Marshaller.StringToPtrGStrdup (signal_name);
|
||||||
|
uint signal_id = g_signal_lookup (native_string, type);
|
||||||
|
GLib.Marshaller.Free (native_string);
|
||||||
|
|
||||||
|
if (signal_id == 0)
|
||||||
|
throw new NotSupportedException (String.Format ("{0} has no signal of name {1}", o, name));
|
||||||
|
GSignalQuery q = new GSignalQuery ();
|
||||||
|
g_signal_query (signal_id, ref q);
|
||||||
|
|
||||||
|
if (q.signal_id == 0)
|
||||||
|
throw new NotSupportedException (String.Format ("{0} couldn't be queried for signal with name {1}", o, name));
|
||||||
|
|
||||||
|
query = new SignalQuery ();
|
||||||
|
|
||||||
|
query.signal_id = signal_id;
|
||||||
|
query.signal_name = GLib.Marshaller.Utf8PtrToString (q.signal_name);
|
||||||
|
query.itype = new GType (q.itype);
|
||||||
|
query.signal_flags = q.signal_flags;
|
||||||
|
query.return_type = new GType (q.return_type);
|
||||||
|
query.n_params = q.n_params;
|
||||||
|
query.param_types = new Type[q.n_params];
|
||||||
|
|
||||||
|
for (int i = 0; i < query.n_params; i++) {
|
||||||
|
IntPtr t = Marshal.ReadIntPtr (q.param_types, i);
|
||||||
|
GType g = new GType (t);
|
||||||
|
|
||||||
|
query.param_types[i] = (Type) g;
|
||||||
|
}
|
||||||
|
|
||||||
|
SignalEmitInfo.Add (key, query);
|
||||||
|
}
|
||||||
|
|
||||||
|
query = (SignalQuery) SignalEmitInfo[key];
|
||||||
|
GLib.Value[] signal_parameters = new GLib.Value[query.n_params + 1];
|
||||||
|
signal_parameters[0] = new GLib.Value (o);
|
||||||
|
|
||||||
|
if (parameters.Length != query.n_params)
|
||||||
|
throw new ApplicationException (String.Format ("Invalid number of parameters: expected {0}, got {1}", query.n_params, parameters.Length));
|
||||||
|
|
||||||
|
for (int i = 0; i < query.n_params; i++) {
|
||||||
|
Type expected_type = (Type) query.param_types[i];
|
||||||
|
Type given_type = parameters[i].GetType ();
|
||||||
|
|
||||||
|
if (expected_type != given_type && ! given_type.IsSubclassOf (given_type))
|
||||||
|
throw new ApplicationException (String.Format ("Invalid parameter type: expected {0}, got {1}", expected_type, given_type));
|
||||||
|
|
||||||
|
signal_parameters[i + 1] = new GLib.Value (parameters[i]);
|
||||||
|
}
|
||||||
|
|
||||||
|
GLib.Value return_value = new GLib.Value ();
|
||||||
|
if (query.return_type != GType.Invalid && query.return_type != GType.None)
|
||||||
|
return_value.Init (query.return_type);
|
||||||
|
|
||||||
|
if (signal_detail != String.Empty) {
|
||||||
|
IntPtr native_string = GLib.Marshaller.StringToPtrGStrdup (signal_detail);
|
||||||
|
signal_detail_quark = g_quark_from_string (native_string);
|
||||||
|
GLib.Marshaller.Free (native_string);
|
||||||
|
}
|
||||||
|
|
||||||
|
g_signal_emitv (signal_parameters, query.signal_id, signal_detail_quark, ref return_value);
|
||||||
|
|
||||||
|
foreach (GLib.Value v in signal_parameters)
|
||||||
|
v.Dispose ();
|
||||||
|
|
||||||
|
object ret = (query.return_type != GType.Invalid && query.return_type != GType.None) ? return_value.Val : null;
|
||||||
|
|
||||||
|
if (ret != null)
|
||||||
|
return_value.Dispose ();
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
[DllImport ("libgstsharpglue-1\t.0.6.so") ]
|
||||||
|
static extern IntPtr gstsharp_g_type_from_instance (IntPtr o);
|
||||||
|
|
||||||
|
[DllImport ("libgobject-2.0-0.dll") ]
|
||||||
|
static extern int g_signal_handler_disconnect (IntPtr o, uint handler_id);
|
||||||
|
|
||||||
|
[DllImport ("libgobject-2.0-0.dll") ]
|
||||||
|
static extern uint g_signal_lookup (IntPtr name, IntPtr itype);
|
||||||
|
|
||||||
|
[DllImport ("libglib-2.0-0.dll") ]
|
||||||
|
static extern uint g_quark_from_string (IntPtr str);
|
||||||
|
|
||||||
|
[DllImport ("libgobject-2.0-0.dll") ]
|
||||||
|
static extern void g_signal_emitv (GLib.Value[] parameters, uint signal_id, uint detail, ref GLib.Value return_value);
|
||||||
|
|
||||||
|
[StructLayout (LayoutKind.Sequential) ]
|
||||||
|
struct GSignalQuery {
|
||||||
|
public uint signal_id;
|
||||||
|
public IntPtr signal_name;
|
||||||
|
public IntPtr itype;
|
||||||
|
public uint signal_flags;
|
||||||
|
public IntPtr return_type;
|
||||||
|
public uint n_params;
|
||||||
|
public IntPtr param_types;
|
||||||
|
}
|
||||||
|
|
||||||
|
[DllImport ("libgobject-2.0-0.dll") ]
|
||||||
|
static extern void g_signal_query (uint signal_id, ref GSignalQuery query);
|
||||||
|
}
|
||||||
|
}
|
56
sources/custom/Object.cs
Normal file
56
sources/custom/Object.cs
Normal file
|
@ -0,0 +1,56 @@
|
||||||
|
// Copyright (C) 2013 Stephan Sundermann <stephansundermann@gmail.com>
|
||||||
|
//
|
||||||
|
// This program is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU Affero General Public License as
|
||||||
|
// published by the Free Software Foundation, either version 3 of the
|
||||||
|
// License, or (at your option) any later version.
|
||||||
|
//
|
||||||
|
// This program is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU Affero General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU Affero General Public License
|
||||||
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
namespace Gst {
|
||||||
|
using System;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
|
partial class Object
|
||||||
|
{
|
||||||
|
public object this[string property] {
|
||||||
|
get {
|
||||||
|
GLib.Value v = GetProperty (property);
|
||||||
|
object o = v.Val;
|
||||||
|
v.Dispose ();
|
||||||
|
return o;
|
||||||
|
} set {
|
||||||
|
GLib.Value v = new GLib.Value (this, property);
|
||||||
|
v.Val = value;
|
||||||
|
SetProperty (property, v);
|
||||||
|
v.Dispose ();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void Connect (string signal, SignalHandler handler) {
|
||||||
|
DynamicSignal.Connect (this, signal, handler);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void Disconnect (string signal, SignalHandler handler) {
|
||||||
|
DynamicSignal.Disconnect (this, signal, handler);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void Connect (string signal, Delegate handler) {
|
||||||
|
DynamicSignal.Connect (this, signal, handler);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void Disconnect (string signal, Delegate handler) {
|
||||||
|
DynamicSignal.Disconnect (this, signal, handler);
|
||||||
|
}
|
||||||
|
|
||||||
|
public object Emit (string signal, params object[] parameters) {
|
||||||
|
return DynamicSignal.Emit (this, signal, parameters);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
18
sources/glue/Makefile.am
Normal file
18
sources/glue/Makefile.am
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
lib_LTLIBRARIES = libgstsharpglue-1.0.6.la
|
||||||
|
# TODO: Select all files except generated.c dynamically
|
||||||
|
libgstsharpglue_1_0_6_la_SOURCES = gobject.c
|
||||||
|
|
||||||
|
nodist_libgstsharpglue_1_0_6_la_SOURCES = generated.c
|
||||||
|
|
||||||
|
libgstsharpglue_1_0_6_la_LDFLAGS = -module -avoid-version -no-undefined
|
||||||
|
|
||||||
|
libgstsharpglue_1_0_6_la_LIBADD = $(GST_LIBS)
|
||||||
|
|
||||||
|
INCLUDES = $(GST_CFLAGS) -I$(top_srcdir)
|
||||||
|
|
||||||
|
libgstsharpglue.dll: $(libgstsharpglue_1_0_6_la_OBJECTS) libgstsharpglue.rc libgstsharpglue.def
|
||||||
|
./build-dll libgstsharpglue $(VERSION)
|
||||||
|
|
||||||
|
CLEANFILES = lib*.a lib*.dll
|
||||||
|
|
||||||
|
EXTRA_DIST =
|
28
sources/glue/gobject.c
Normal file
28
sources/glue/gobject.c
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
// Copyright (C) 2013 Stephan Sundermann <stephansundermann@gmail.com>
|
||||||
|
//
|
||||||
|
// This program is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU Affero General Public License as
|
||||||
|
// published by the Free Software Foundation, either version 3 of the
|
||||||
|
// License, or (at your option) any later version.
|
||||||
|
//
|
||||||
|
// This program is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU Affero General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU Affero General Public License
|
||||||
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
#include <glib-object.h>
|
||||||
|
|
||||||
|
gint
|
||||||
|
gstsharp_g_closure_sizeof (void)
|
||||||
|
{
|
||||||
|
return sizeof (GClosure);
|
||||||
|
}
|
||||||
|
|
||||||
|
GType
|
||||||
|
gstsharp_g_type_from_instance (GTypeInstance * instance)
|
||||||
|
{
|
||||||
|
return G_TYPE_FROM_INSTANCE (instance);
|
||||||
|
}
|
|
@ -665,8 +665,8 @@
|
||||||
<return-type type="gboolean"/>
|
<return-type type="gboolean"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="name" type="const-gchar*"/>
|
<parameter name="name" type="const-gchar*"/>
|
||||||
<parameter name="target" type="GObject*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="target" type="GObject*" owned="true" pass_as="out"/>
|
||||||
<parameter name="pspec" type="GParamSpec*" pass_as="out"/>
|
<parameter allow-none="1" name="pspec" type="GParamSpec*" pass_as="out"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="SetProperty" cname="gst_child_proxy_set_property">
|
<method name="SetProperty" cname="gst_child_proxy_set_property">
|
||||||
|
@ -890,7 +890,7 @@
|
||||||
<method name="SetToc" cname="gst_toc_setter_set_toc">
|
<method name="SetToc" cname="gst_toc_setter_set_toc">
|
||||||
<return-type type="void"/>
|
<return-type type="void"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="toc" type="GstToc*">
|
<parameter allow-none="1" name="toc" type="GstToc*">
|
||||||
<warning>missing glib:type-name</warning>
|
<warning>missing glib:type-name</warning>
|
||||||
</parameter>
|
</parameter>
|
||||||
</parameters>
|
</parameters>
|
||||||
|
@ -983,7 +983,7 @@
|
||||||
</return-type>
|
</return-type>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="size" type="gsize"/>
|
<parameter name="size" type="gsize"/>
|
||||||
<parameter name="params" type="GstAllocationParams*">
|
<parameter allow-none="1" name="params" type="GstAllocationParams*">
|
||||||
<warning>missing glib:type-name</warning>
|
<warning>missing glib:type-name</warning>
|
||||||
</parameter>
|
</parameter>
|
||||||
</parameters>
|
</parameters>
|
||||||
|
@ -1002,7 +1002,7 @@
|
||||||
</return-type>
|
</return-type>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="size" type="gsize"/>
|
<parameter name="size" type="gsize"/>
|
||||||
<parameter name="params" type="GstAllocationParams*">
|
<parameter allow-none="1" name="params" type="GstAllocationParams*">
|
||||||
<warning>missing glib:type-name</warning>
|
<warning>missing glib:type-name</warning>
|
||||||
</parameter>
|
</parameter>
|
||||||
</parameters>
|
</parameters>
|
||||||
|
@ -1248,12 +1248,12 @@
|
||||||
<parameter name="config" type="GstStructure*">
|
<parameter name="config" type="GstStructure*">
|
||||||
<warning>missing glib:type-name</warning>
|
<warning>missing glib:type-name</warning>
|
||||||
</parameter>
|
</parameter>
|
||||||
<parameter name="caps" type="GstCaps**" pass_as="out">
|
<parameter allow-none="1" name="caps" type="GstCaps**" pass_as="out">
|
||||||
<warning>missing glib:type-name</warning>
|
<warning>missing glib:type-name</warning>
|
||||||
</parameter>
|
</parameter>
|
||||||
<parameter name="size" type="guint*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="size" type="guint*" owned="true" pass_as="out"/>
|
||||||
<parameter name="min_buffers" type="guint*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="min_buffers" type="guint*" owned="true" pass_as="out"/>
|
||||||
<parameter name="max_buffers" type="guint*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="max_buffers" type="guint*" owned="true" pass_as="out"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="ConfigHasOption" cname="gst_buffer_pool_config_has_option" shared="true">
|
<method name="ConfigHasOption" cname="gst_buffer_pool_config_has_option" shared="true">
|
||||||
|
@ -1305,7 +1305,7 @@
|
||||||
<parameter name="buffer" type="GstBuffer**" owned="true" pass_as="out">
|
<parameter name="buffer" type="GstBuffer**" owned="true" pass_as="out">
|
||||||
<warning>missing glib:type-name</warning>
|
<warning>missing glib:type-name</warning>
|
||||||
</parameter>
|
</parameter>
|
||||||
<parameter name="params" type="GstBufferPoolAcquireParams*">
|
<parameter allow-none="1" name="params" type="GstBufferPoolAcquireParams*">
|
||||||
<warning>missing glib:type-name</warning>
|
<warning>missing glib:type-name</warning>
|
||||||
</parameter>
|
</parameter>
|
||||||
</parameters>
|
</parameters>
|
||||||
|
@ -1371,7 +1371,7 @@
|
||||||
<parameter name="buffer" type="GstBuffer**" owned="true" pass_as="out">
|
<parameter name="buffer" type="GstBuffer**" owned="true" pass_as="out">
|
||||||
<warning>missing glib:type-name</warning>
|
<warning>missing glib:type-name</warning>
|
||||||
</parameter>
|
</parameter>
|
||||||
<parameter name="params" type="GstBufferPoolAcquireParams*">
|
<parameter allow-none="1" name="params" type="GstBufferPoolAcquireParams*">
|
||||||
<warning>missing glib:type-name</warning>
|
<warning>missing glib:type-name</warning>
|
||||||
</parameter>
|
</parameter>
|
||||||
</parameters>
|
</parameters>
|
||||||
|
@ -1534,7 +1534,7 @@
|
||||||
<method name="SetSyncHandler" cname="gst_bus_set_sync_handler">
|
<method name="SetSyncHandler" cname="gst_bus_set_sync_handler">
|
||||||
<return-type type="void"/>
|
<return-type type="void"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter closure="1" destroy="2" scope="notified" name="func" type="GstBusSyncHandler"/>
|
<parameter closure="1" destroy="2" scope="notified" allow-none="1" name="func" type="GstBusSyncHandler"/>
|
||||||
<parameter name="user_data" type="gpointer"/>
|
<parameter name="user_data" type="gpointer"/>
|
||||||
<parameter scope="async" name="notify" type="GDestroyNotify"/>
|
<parameter scope="async" name="notify" type="GDestroyNotify"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
|
@ -1639,7 +1639,7 @@
|
||||||
<return-type type="GstClockReturn"/>
|
<return-type type="GstClockReturn"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="id" type="gpointer"/>
|
<parameter name="id" type="gpointer"/>
|
||||||
<parameter name="jitter" type="gint64" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="jitter" type="gint64" owned="true" pass_as="out"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="IdWaitAsync" cname="gst_clock_id_wait_async" shared="true">
|
<method name="IdWaitAsync" cname="gst_clock_id_wait_async" shared="true">
|
||||||
|
@ -1708,10 +1708,10 @@
|
||||||
<method name="GetCalibration" cname="gst_clock_get_calibration">
|
<method name="GetCalibration" cname="gst_clock_get_calibration">
|
||||||
<return-type type="void"/>
|
<return-type type="void"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="internal" type="guint64" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="internal" type="guint64" owned="true" pass_as="out"/>
|
||||||
<parameter name="external" type="guint64" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="external" type="guint64" owned="true" pass_as="out"/>
|
||||||
<parameter name="rate_num" type="guint64" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="rate_num" type="guint64" owned="true" pass_as="out"/>
|
||||||
<parameter name="rate_denom" type="guint64" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="rate_denom" type="guint64" owned="true" pass_as="out"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="GetInternalTime" cname="gst_clock_get_internal_time">
|
<method name="GetInternalTime" cname="gst_clock_get_internal_time">
|
||||||
|
@ -1767,7 +1767,7 @@
|
||||||
<method name="SetMaster" cname="gst_clock_set_master">
|
<method name="SetMaster" cname="gst_clock_set_master">
|
||||||
<return-type type="gboolean"/>
|
<return-type type="gboolean"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="master" type="GstClock*"/>
|
<parameter allow-none="1" name="master" type="GstClock*"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="SetResolution" cname="gst_clock_set_resolution">
|
<method name="SetResolution" cname="gst_clock_set_resolution">
|
||||||
|
@ -2029,14 +2029,14 @@
|
||||||
<parameters throws="1">
|
<parameters throws="1">
|
||||||
<parameter name="type" type="GstURIType"/>
|
<parameter name="type" type="GstURIType"/>
|
||||||
<parameter name="uri" type="const-gchar*"/>
|
<parameter name="uri" type="const-gchar*"/>
|
||||||
<parameter name="elementname" type="const-gchar*"/>
|
<parameter allow-none="1" name="elementname" type="const-gchar*"/>
|
||||||
<parameter name="error" type="GError**"/>
|
<parameter name="error" type="GError**"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="Register" cname="gst_element_register" shared="true">
|
<method name="Register" cname="gst_element_register" shared="true">
|
||||||
<return-type type="gboolean"/>
|
<return-type type="gboolean"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="plugin" type="GstPlugin*"/>
|
<parameter allow-none="1" name="plugin" type="GstPlugin*"/>
|
||||||
<parameter name="name" type="const-gchar*"/>
|
<parameter name="name" type="const-gchar*"/>
|
||||||
<parameter name="rank" type="guint"/>
|
<parameter name="rank" type="guint"/>
|
||||||
<parameter name="type" type="GType"/>
|
<parameter name="type" type="GType"/>
|
||||||
|
@ -2063,8 +2063,8 @@
|
||||||
<virtual_method name="GetState" cname="get_state">
|
<virtual_method name="GetState" cname="get_state">
|
||||||
<return-type type="GstStateChangeReturn"/>
|
<return-type type="GstStateChangeReturn"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="state" type="GstState" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="state" type="GstState" owned="true" pass_as="out"/>
|
||||||
<parameter name="pending" type="GstState" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="pending" type="GstState" owned="true" pass_as="out"/>
|
||||||
<parameter name="timeout" type="guint64"/>
|
<parameter name="timeout" type="guint64"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</virtual_method>
|
</virtual_method>
|
||||||
|
@ -2180,7 +2180,7 @@
|
||||||
<return-type type="GstPad*" owned="true"/>
|
<return-type type="GstPad*" owned="true"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="pad" type="GstPad*"/>
|
<parameter name="pad" type="GstPad*"/>
|
||||||
<parameter name="caps" type="GstCaps*">
|
<parameter allow-none="1" name="caps" type="GstCaps*">
|
||||||
<warning>missing glib:type-name</warning>
|
<warning>missing glib:type-name</warning>
|
||||||
</parameter>
|
</parameter>
|
||||||
</parameters>
|
</parameters>
|
||||||
|
@ -2208,8 +2208,8 @@
|
||||||
<method name="GetState" cname="gst_element_get_state">
|
<method name="GetState" cname="gst_element_get_state">
|
||||||
<return-type type="GstStateChangeReturn"/>
|
<return-type type="GstStateChangeReturn"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="state" type="GstState" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="state" type="GstState" owned="true" pass_as="out"/>
|
||||||
<parameter name="pending" type="GstState" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="pending" type="GstState" owned="true" pass_as="out"/>
|
||||||
<parameter name="timeout" type="guint64"/>
|
<parameter name="timeout" type="guint64"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
|
@ -2251,7 +2251,7 @@
|
||||||
<return-type type="gboolean"/>
|
<return-type type="gboolean"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="dest" type="GstElement*"/>
|
<parameter name="dest" type="GstElement*"/>
|
||||||
<parameter name="filter" type="GstCaps*">
|
<parameter allow-none="1" name="filter" type="GstCaps*">
|
||||||
<warning>missing glib:type-name</warning>
|
<warning>missing glib:type-name</warning>
|
||||||
</parameter>
|
</parameter>
|
||||||
</parameters>
|
</parameters>
|
||||||
|
@ -2259,18 +2259,18 @@
|
||||||
<method name="LinkPads" cname="gst_element_link_pads">
|
<method name="LinkPads" cname="gst_element_link_pads">
|
||||||
<return-type type="gboolean"/>
|
<return-type type="gboolean"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="srcpadname" type="const-gchar*"/>
|
<parameter allow-none="1" name="srcpadname" type="const-gchar*"/>
|
||||||
<parameter name="dest" type="GstElement*"/>
|
<parameter name="dest" type="GstElement*"/>
|
||||||
<parameter name="destpadname" type="const-gchar*"/>
|
<parameter allow-none="1" name="destpadname" type="const-gchar*"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="LinkPadsFiltered" cname="gst_element_link_pads_filtered">
|
<method name="LinkPadsFiltered" cname="gst_element_link_pads_filtered">
|
||||||
<return-type type="gboolean"/>
|
<return-type type="gboolean"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="srcpadname" type="const-gchar*"/>
|
<parameter allow-none="1" name="srcpadname" type="const-gchar*"/>
|
||||||
<parameter name="dest" type="GstElement*"/>
|
<parameter name="dest" type="GstElement*"/>
|
||||||
<parameter name="destpadname" type="const-gchar*"/>
|
<parameter allow-none="1" name="destpadname" type="const-gchar*"/>
|
||||||
<parameter name="filter" type="GstCaps*">
|
<parameter allow-none="1" name="filter" type="GstCaps*">
|
||||||
<warning>missing glib:type-name</warning>
|
<warning>missing glib:type-name</warning>
|
||||||
</parameter>
|
</parameter>
|
||||||
</parameters>
|
</parameters>
|
||||||
|
@ -2278,9 +2278,9 @@
|
||||||
<method name="LinkPadsFull" cname="gst_element_link_pads_full">
|
<method name="LinkPadsFull" cname="gst_element_link_pads_full">
|
||||||
<return-type type="gboolean"/>
|
<return-type type="gboolean"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="srcpadname" type="const-gchar*"/>
|
<parameter allow-none="1" name="srcpadname" type="const-gchar*"/>
|
||||||
<parameter name="dest" type="GstElement*"/>
|
<parameter name="dest" type="GstElement*"/>
|
||||||
<parameter name="destpadname" type="const-gchar*"/>
|
<parameter allow-none="1" name="destpadname" type="const-gchar*"/>
|
||||||
<parameter name="flags" type="GstPadLinkCheck"/>
|
<parameter name="flags" type="GstPadLinkCheck"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
|
@ -2294,8 +2294,8 @@
|
||||||
<parameter name="type" type="GstMessageType"/>
|
<parameter name="type" type="GstMessageType"/>
|
||||||
<parameter name="domain" type="guint32"/>
|
<parameter name="domain" type="guint32"/>
|
||||||
<parameter name="code" type="gint"/>
|
<parameter name="code" type="gint"/>
|
||||||
<parameter name="text" type="gchar*" owned="true"/>
|
<parameter allow-none="1" name="text" type="gchar*" owned="true"/>
|
||||||
<parameter name="debug" type="gchar*" owned="true"/>
|
<parameter allow-none="1" name="debug" type="gchar*" owned="true"/>
|
||||||
<parameter name="file" type="const-gchar*"/>
|
<parameter name="file" type="const-gchar*"/>
|
||||||
<parameter name="function" type="const-gchar*"/>
|
<parameter name="function" type="const-gchar*"/>
|
||||||
<parameter name="line" type="gint"/>
|
<parameter name="line" type="gint"/>
|
||||||
|
@ -2341,7 +2341,7 @@
|
||||||
<return-type type="gboolean"/>
|
<return-type type="gboolean"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="format" type="GstFormat"/>
|
<parameter name="format" type="GstFormat"/>
|
||||||
<parameter name="cur" type="gint64*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="cur" type="gint64*" owned="true" pass_as="out"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="ReleaseRequestPad" cname="gst_element_release_request_pad">
|
<method name="ReleaseRequestPad" cname="gst_element_release_request_pad">
|
||||||
|
@ -2360,8 +2360,8 @@
|
||||||
<return-type type="GstPad*" owned="true"/>
|
<return-type type="GstPad*" owned="true"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="templ" type="GstPadTemplate*"/>
|
<parameter name="templ" type="GstPadTemplate*"/>
|
||||||
<parameter name="name" type="const-gchar*"/>
|
<parameter allow-none="1" name="name" type="const-gchar*"/>
|
||||||
<parameter name="caps" type="GstCaps*">
|
<parameter allow-none="1" name="caps" type="GstCaps*">
|
||||||
<warning>missing glib:type-name</warning>
|
<warning>missing glib:type-name</warning>
|
||||||
</parameter>
|
</parameter>
|
||||||
</parameters>
|
</parameters>
|
||||||
|
@ -2523,7 +2523,7 @@
|
||||||
<return-type type="GstElement*"/>
|
<return-type type="GstElement*"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="factoryname" type="const-gchar*"/>
|
<parameter name="factoryname" type="const-gchar*"/>
|
||||||
<parameter name="name" type="const-gchar*"/>
|
<parameter allow-none="1" name="name" type="const-gchar*"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="CanSinkAllCaps" cname="gst_element_factory_can_sink_all_caps">
|
<method name="CanSinkAllCaps" cname="gst_element_factory_can_sink_all_caps">
|
||||||
|
@ -2561,7 +2561,7 @@
|
||||||
<method name="Create" cname="gst_element_factory_create">
|
<method name="Create" cname="gst_element_factory_create">
|
||||||
<return-type type="GstElement*"/>
|
<return-type type="GstElement*"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="name" type="const-gchar*"/>
|
<parameter allow-none="1" name="name" type="const-gchar*"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="GetElementType" cname="gst_element_factory_get_element_type">
|
<method name="GetElementType" cname="gst_element_factory_get_element_type">
|
||||||
|
@ -2673,7 +2673,7 @@
|
||||||
<method name="SetTarget" cname="gst_ghost_pad_set_target">
|
<method name="SetTarget" cname="gst_ghost_pad_set_target">
|
||||||
<return-type type="gboolean*" owned="true"/>
|
<return-type type="gboolean*" owned="true"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="newtarget" type="GstPad*"/>
|
<parameter allow-none="1" name="newtarget" type="GstPad*"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<field cname="pad" access="public" writeable="false" readable="true" name="Pad" type="GstProxyPad*"/>
|
<field cname="pad" access="public" writeable="false" readable="true" name="Pad" type="GstProxyPad*"/>
|
||||||
|
@ -2706,7 +2706,7 @@
|
||||||
<parameter name="_object" type="GObject*"/>
|
<parameter name="_object" type="GObject*"/>
|
||||||
<parameter name="orig" type="GstObject*"/>
|
<parameter name="orig" type="GstObject*"/>
|
||||||
<parameter name="pspec" type="GParamSpec*"/>
|
<parameter name="pspec" type="GParamSpec*"/>
|
||||||
<parameter name="excluded_props" type="const-gchar**" array="true" null_term_array="true"/>
|
<parameter allow-none="1" name="excluded_props" type="const-gchar**" array="true" null_term_array="true"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="Replace" cname="gst_object_replace" shared="true">
|
<method name="Replace" cname="gst_object_replace" shared="true">
|
||||||
|
@ -2728,7 +2728,7 @@
|
||||||
<parameter name="error" type="GError*">
|
<parameter name="error" type="GError*">
|
||||||
<warning>missing glib:type-name</warning>
|
<warning>missing glib:type-name</warning>
|
||||||
</parameter>
|
</parameter>
|
||||||
<parameter name="debug" type="const-gchar*"/>
|
<parameter allow-none="1" name="debug" type="const-gchar*"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="GetControlBinding" cname="gst_object_get_control_binding">
|
<method name="GetControlBinding" cname="gst_object_get_control_binding">
|
||||||
|
@ -2950,7 +2950,7 @@
|
||||||
<return-type type="gchar*" owned="true"/>
|
<return-type type="gchar*" owned="true"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="parent" type="GstElement*"/>
|
<parameter name="parent" type="GstElement*"/>
|
||||||
<parameter name="stream_id" type="const-gchar*"/>
|
<parameter allow-none="1" name="stream_id" type="const-gchar*"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="EventDefault" cname="gst_pad_event_default">
|
<method name="EventDefault" cname="gst_pad_event_default">
|
||||||
|
@ -3110,7 +3110,7 @@
|
||||||
<warning>missing glib:type-name</warning>
|
<warning>missing glib:type-name</warning>
|
||||||
</return-type>
|
</return-type>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="filter" type="GstCaps*">
|
<parameter allow-none="1" name="filter" type="GstCaps*">
|
||||||
<warning>missing glib:type-name</warning>
|
<warning>missing glib:type-name</warning>
|
||||||
</parameter>
|
</parameter>
|
||||||
</parameters>
|
</parameters>
|
||||||
|
@ -3128,14 +3128,14 @@
|
||||||
<return-type type="gboolean"/>
|
<return-type type="gboolean"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="format" type="GstFormat"/>
|
<parameter name="format" type="GstFormat"/>
|
||||||
<parameter name="duration" type="gint64*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="duration" type="gint64*" owned="true" pass_as="out"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="PeerQueryPosition" cname="gst_pad_peer_query_position">
|
<method name="PeerQueryPosition" cname="gst_pad_peer_query_position">
|
||||||
<return-type type="gboolean"/>
|
<return-type type="gboolean"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="format" type="GstFormat"/>
|
<parameter name="format" type="GstFormat"/>
|
||||||
<parameter name="cur" type="gint64*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="cur" type="gint64*" owned="true" pass_as="out"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="ProxyQueryAcceptCaps" cname="gst_pad_proxy_query_accept_caps">
|
<method name="ProxyQueryAcceptCaps" cname="gst_pad_proxy_query_accept_caps">
|
||||||
|
@ -3209,7 +3209,7 @@
|
||||||
<warning>missing glib:type-name</warning>
|
<warning>missing glib:type-name</warning>
|
||||||
</return-type>
|
</return-type>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="filter" type="GstCaps*">
|
<parameter allow-none="1" name="filter" type="GstCaps*">
|
||||||
<warning>missing glib:type-name</warning>
|
<warning>missing glib:type-name</warning>
|
||||||
</parameter>
|
</parameter>
|
||||||
</parameters>
|
</parameters>
|
||||||
|
@ -3236,7 +3236,7 @@
|
||||||
<return-type type="gboolean"/>
|
<return-type type="gboolean"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="format" type="GstFormat"/>
|
<parameter name="format" type="GstFormat"/>
|
||||||
<parameter name="duration" type="gint64*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="duration" type="gint64*" owned="true" pass_as="out"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="QueryPosition" cname="gst_pad_query_position">
|
<method name="QueryPosition" cname="gst_pad_query_position">
|
||||||
|
@ -5251,8 +5251,8 @@
|
||||||
<method name="ParseGap" cname="gst_event_parse_gap">
|
<method name="ParseGap" cname="gst_event_parse_gap">
|
||||||
<return-type type="void"/>
|
<return-type type="void"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="timestamp" type="guint64" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="timestamp" type="guint64" owned="true" pass_as="out"/>
|
||||||
<parameter name="duration" type="guint64" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="duration" type="guint64" owned="true" pass_as="out"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="ParseLatency" cname="gst_event_parse_latency">
|
<method name="ParseLatency" cname="gst_event_parse_latency">
|
||||||
|
@ -5308,11 +5308,11 @@
|
||||||
<method name="ParseStep" cname="gst_event_parse_step">
|
<method name="ParseStep" cname="gst_event_parse_step">
|
||||||
<return-type type="void"/>
|
<return-type type="void"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="format" type="GstFormat" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="format" type="GstFormat" owned="true" pass_as="out"/>
|
||||||
<parameter name="amount" type="guint64*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="amount" type="guint64*" owned="true" pass_as="out"/>
|
||||||
<parameter name="rate" type="gdouble*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="rate" type="gdouble*" owned="true" pass_as="out"/>
|
||||||
<parameter name="flush" type="gboolean*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="flush" type="gboolean*" owned="true" pass_as="out"/>
|
||||||
<parameter name="intermediate" type="gboolean*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="intermediate" type="gboolean*" owned="true" pass_as="out"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="ParseStreamStart" cname="gst_event_parse_stream_start">
|
<method name="ParseStreamStart" cname="gst_event_parse_stream_start">
|
||||||
|
@ -5832,87 +5832,87 @@
|
||||||
<method name="ParseBuffering" cname="gst_message_parse_buffering">
|
<method name="ParseBuffering" cname="gst_message_parse_buffering">
|
||||||
<return-type type="void"/>
|
<return-type type="void"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="percent" type="gint*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="percent" type="gint*" owned="true" pass_as="out"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="ParseBufferingStats" cname="gst_message_parse_buffering_stats">
|
<method name="ParseBufferingStats" cname="gst_message_parse_buffering_stats">
|
||||||
<return-type type="void"/>
|
<return-type type="void"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="mode" type="GstBufferingMode" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="mode" type="GstBufferingMode" owned="true" pass_as="out"/>
|
||||||
<parameter name="avg_in" type="gint*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="avg_in" type="gint*" owned="true" pass_as="out"/>
|
||||||
<parameter name="avg_out" type="gint*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="avg_out" type="gint*" owned="true" pass_as="out"/>
|
||||||
<parameter name="buffering_left" type="gint64*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="buffering_left" type="gint64*" owned="true" pass_as="out"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="ParseClockLost" cname="gst_message_parse_clock_lost">
|
<method name="ParseClockLost" cname="gst_message_parse_clock_lost">
|
||||||
<return-type type="void"/>
|
<return-type type="void"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="clock" type="GstClock*" pass_as="out"/>
|
<parameter allow-none="1" name="clock" type="GstClock*" pass_as="out"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="ParseClockProvide" cname="gst_message_parse_clock_provide">
|
<method name="ParseClockProvide" cname="gst_message_parse_clock_provide">
|
||||||
<return-type type="void"/>
|
<return-type type="void"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="clock" type="GstClock*" pass_as="out"/>
|
<parameter allow-none="1" name="clock" type="GstClock*" pass_as="out"/>
|
||||||
<parameter name="ready" type="gboolean*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="ready" type="gboolean*" owned="true" pass_as="out"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="ParseError" cname="gst_message_parse_error">
|
<method name="ParseError" cname="gst_message_parse_error">
|
||||||
<return-type type="void"/>
|
<return-type type="void"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="gerror" type="GError**" owned="true" pass_as="out">
|
<parameter allow-none="1" name="gerror" type="GError**" owned="true" pass_as="out">
|
||||||
<warning>missing glib:type-name</warning>
|
<warning>missing glib:type-name</warning>
|
||||||
</parameter>
|
</parameter>
|
||||||
<parameter name="debug" type="gchar*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="debug" type="gchar*" owned="true" pass_as="out"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="ParseInfo" cname="gst_message_parse_info">
|
<method name="ParseInfo" cname="gst_message_parse_info">
|
||||||
<return-type type="void"/>
|
<return-type type="void"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="gerror" type="GError**" owned="true" pass_as="out">
|
<parameter allow-none="1" name="gerror" type="GError**" owned="true" pass_as="out">
|
||||||
<warning>missing glib:type-name</warning>
|
<warning>missing glib:type-name</warning>
|
||||||
</parameter>
|
</parameter>
|
||||||
<parameter name="debug" type="gchar*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="debug" type="gchar*" owned="true" pass_as="out"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="ParseNewClock" cname="gst_message_parse_new_clock">
|
<method name="ParseNewClock" cname="gst_message_parse_new_clock">
|
||||||
<return-type type="void"/>
|
<return-type type="void"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="clock" type="GstClock*" pass_as="out"/>
|
<parameter allow-none="1" name="clock" type="GstClock*" pass_as="out"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="ParseProgress" cname="gst_message_parse_progress">
|
<method name="ParseProgress" cname="gst_message_parse_progress">
|
||||||
<return-type type="void"/>
|
<return-type type="void"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="type" type="GstProgressType" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="type" type="GstProgressType" owned="true" pass_as="out"/>
|
||||||
<parameter name="code" type="gchar*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="code" type="gchar*" owned="true" pass_as="out"/>
|
||||||
<parameter name="text" type="gchar*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="text" type="gchar*" owned="true" pass_as="out"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="ParseQos" cname="gst_message_parse_qos">
|
<method name="ParseQos" cname="gst_message_parse_qos">
|
||||||
<return-type type="void"/>
|
<return-type type="void"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="live" type="gboolean*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="live" type="gboolean*" owned="true" pass_as="out"/>
|
||||||
<parameter name="running_time" type="guint64*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="running_time" type="guint64*" owned="true" pass_as="out"/>
|
||||||
<parameter name="stream_time" type="guint64*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="stream_time" type="guint64*" owned="true" pass_as="out"/>
|
||||||
<parameter name="timestamp" type="guint64*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="timestamp" type="guint64*" owned="true" pass_as="out"/>
|
||||||
<parameter name="duration" type="guint64*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="duration" type="guint64*" owned="true" pass_as="out"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="ParseQosStats" cname="gst_message_parse_qos_stats">
|
<method name="ParseQosStats" cname="gst_message_parse_qos_stats">
|
||||||
<return-type type="void"/>
|
<return-type type="void"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="format" type="GstFormat" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="format" type="GstFormat" owned="true" pass_as="out"/>
|
||||||
<parameter name="processed" type="guint64*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="processed" type="guint64*" owned="true" pass_as="out"/>
|
||||||
<parameter name="dropped" type="guint64*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="dropped" type="guint64*" owned="true" pass_as="out"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="ParseQosValues" cname="gst_message_parse_qos_values">
|
<method name="ParseQosValues" cname="gst_message_parse_qos_values">
|
||||||
<return-type type="void"/>
|
<return-type type="void"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="jitter" type="gint64*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="jitter" type="gint64*" owned="true" pass_as="out"/>
|
||||||
<parameter name="proportion" type="gdouble*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="proportion" type="gdouble*" owned="true" pass_as="out"/>
|
||||||
<parameter name="quality" type="gint*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="quality" type="gint*" owned="true" pass_as="out"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="ParseRequestState" cname="gst_message_parse_request_state">
|
<method name="ParseRequestState" cname="gst_message_parse_request_state">
|
||||||
|
@ -5944,32 +5944,32 @@
|
||||||
<method name="ParseStateChanged" cname="gst_message_parse_state_changed">
|
<method name="ParseStateChanged" cname="gst_message_parse_state_changed">
|
||||||
<return-type type="void"/>
|
<return-type type="void"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="oldstate" type="GstState" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="oldstate" type="GstState" owned="true" pass_as="out"/>
|
||||||
<parameter name="newstate" type="GstState" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="newstate" type="GstState" owned="true" pass_as="out"/>
|
||||||
<parameter name="pending" type="GstState" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="pending" type="GstState" owned="true" pass_as="out"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="ParseStepDone" cname="gst_message_parse_step_done">
|
<method name="ParseStepDone" cname="gst_message_parse_step_done">
|
||||||
<return-type type="void"/>
|
<return-type type="void"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="format" type="GstFormat" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="format" type="GstFormat" owned="true" pass_as="out"/>
|
||||||
<parameter name="amount" type="guint64*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="amount" type="guint64*" owned="true" pass_as="out"/>
|
||||||
<parameter name="rate" type="gdouble*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="rate" type="gdouble*" owned="true" pass_as="out"/>
|
||||||
<parameter name="flush" type="gboolean*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="flush" type="gboolean*" owned="true" pass_as="out"/>
|
||||||
<parameter name="intermediate" type="gboolean*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="intermediate" type="gboolean*" owned="true" pass_as="out"/>
|
||||||
<parameter name="duration" type="guint64*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="duration" type="guint64*" owned="true" pass_as="out"/>
|
||||||
<parameter name="eos" type="gboolean*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="eos" type="gboolean*" owned="true" pass_as="out"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="ParseStepStart" cname="gst_message_parse_step_start">
|
<method name="ParseStepStart" cname="gst_message_parse_step_start">
|
||||||
<return-type type="void"/>
|
<return-type type="void"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="active" type="gboolean*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="active" type="gboolean*" owned="true" pass_as="out"/>
|
||||||
<parameter name="format" type="GstFormat" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="format" type="GstFormat" owned="true" pass_as="out"/>
|
||||||
<parameter name="amount" type="guint64*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="amount" type="guint64*" owned="true" pass_as="out"/>
|
||||||
<parameter name="rate" type="gdouble*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="rate" type="gdouble*" owned="true" pass_as="out"/>
|
||||||
<parameter name="flush" type="gboolean*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="flush" type="gboolean*" owned="true" pass_as="out"/>
|
||||||
<parameter name="intermediate" type="gboolean*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="intermediate" type="gboolean*" owned="true" pass_as="out"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="ParseStreamStatus" cname="gst_message_parse_stream_status">
|
<method name="ParseStreamStatus" cname="gst_message_parse_stream_status">
|
||||||
|
@ -5983,8 +5983,8 @@
|
||||||
<return-type type="void"/>
|
<return-type type="void"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="type" type="GstStructureChangeType" owned="true" pass_as="out"/>
|
<parameter name="type" type="GstStructureChangeType" owned="true" pass_as="out"/>
|
||||||
<parameter name="owner" type="GstElement*" pass_as="out"/>
|
<parameter allow-none="1" name="owner" type="GstElement*" pass_as="out"/>
|
||||||
<parameter name="busy" type="gboolean*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="busy" type="gboolean*" owned="true" pass_as="out"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="ParseTag" cname="gst_message_parse_tag">
|
<method name="ParseTag" cname="gst_message_parse_tag">
|
||||||
|
@ -6007,10 +6007,10 @@
|
||||||
<method name="ParseWarning" cname="gst_message_parse_warning">
|
<method name="ParseWarning" cname="gst_message_parse_warning">
|
||||||
<return-type type="void"/>
|
<return-type type="void"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="gerror" type="GError**" owned="true" pass_as="out">
|
<parameter allow-none="1" name="gerror" type="GError**" owned="true" pass_as="out">
|
||||||
<warning>missing glib:type-name</warning>
|
<warning>missing glib:type-name</warning>
|
||||||
</parameter>
|
</parameter>
|
||||||
<parameter name="debug" type="gchar*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="debug" type="gchar*" owned="true" pass_as="out"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="SetBufferingStats" cname="gst_message_set_buffering_stats">
|
<method name="SetBufferingStats" cname="gst_message_set_buffering_stats">
|
||||||
|
@ -6458,7 +6458,7 @@
|
||||||
<return-type type="void"/>
|
<return-type type="void"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="api" type="GType"/>
|
<parameter name="api" type="GType"/>
|
||||||
<parameter name="params" type="GstStructure*">
|
<parameter allow-none="1" name="params" type="GstStructure*">
|
||||||
<warning>missing glib:type-name</warning>
|
<warning>missing glib:type-name</warning>
|
||||||
</parameter>
|
</parameter>
|
||||||
</parameters>
|
</parameters>
|
||||||
|
@ -6466,8 +6466,8 @@
|
||||||
<method name="AddAllocationParam" cname="gst_query_add_allocation_param">
|
<method name="AddAllocationParam" cname="gst_query_add_allocation_param">
|
||||||
<return-type type="void"/>
|
<return-type type="void"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="allocator" type="GstAllocator*"/>
|
<parameter allow-none="1" name="allocator" type="GstAllocator*"/>
|
||||||
<parameter name="params" type="GstAllocationParams*">
|
<parameter allow-none="1" name="params" type="GstAllocationParams*">
|
||||||
<warning>missing glib:type-name</warning>
|
<warning>missing glib:type-name</warning>
|
||||||
</parameter>
|
</parameter>
|
||||||
</parameters>
|
</parameters>
|
||||||
|
@ -6498,7 +6498,7 @@
|
||||||
<return-type type="gboolean"/>
|
<return-type type="gboolean"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="api" type="GType"/>
|
<parameter name="api" type="GType"/>
|
||||||
<parameter name="index" type="guint*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="index" type="guint*" owned="true" pass_as="out"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="GetNAllocationMetas" cname="gst_query_get_n_allocation_metas">
|
<method name="GetNAllocationMetas" cname="gst_query_get_n_allocation_metas">
|
||||||
|
@ -6557,35 +6557,35 @@
|
||||||
<method name="ParseAllocation" cname="gst_query_parse_allocation">
|
<method name="ParseAllocation" cname="gst_query_parse_allocation">
|
||||||
<return-type type="void"/>
|
<return-type type="void"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="caps" type="GstCaps**" pass_as="out">
|
<parameter allow-none="1" name="caps" type="GstCaps**" pass_as="out">
|
||||||
<warning>missing glib:type-name</warning>
|
<warning>missing glib:type-name</warning>
|
||||||
</parameter>
|
</parameter>
|
||||||
<parameter name="need_pool" type="gboolean*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="need_pool" type="gboolean*" owned="true" pass_as="out"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="ParseBufferingPercent" cname="gst_query_parse_buffering_percent">
|
<method name="ParseBufferingPercent" cname="gst_query_parse_buffering_percent">
|
||||||
<return-type type="void"/>
|
<return-type type="void"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="busy" type="gboolean*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="busy" type="gboolean*" owned="true" pass_as="out"/>
|
||||||
<parameter name="percent" type="gint*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="percent" type="gint*" owned="true" pass_as="out"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="ParseBufferingRange" cname="gst_query_parse_buffering_range">
|
<method name="ParseBufferingRange" cname="gst_query_parse_buffering_range">
|
||||||
<return-type type="void"/>
|
<return-type type="void"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="format" type="GstFormat" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="format" type="GstFormat" owned="true" pass_as="out"/>
|
||||||
<parameter name="start" type="gint64*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="start" type="gint64*" owned="true" pass_as="out"/>
|
||||||
<parameter name="stop" type="gint64*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="stop" type="gint64*" owned="true" pass_as="out"/>
|
||||||
<parameter name="estimated_total" type="gint64*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="estimated_total" type="gint64*" owned="true" pass_as="out"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="ParseBufferingStats" cname="gst_query_parse_buffering_stats">
|
<method name="ParseBufferingStats" cname="gst_query_parse_buffering_stats">
|
||||||
<return-type type="void"/>
|
<return-type type="void"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="mode" type="GstBufferingMode" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="mode" type="GstBufferingMode" owned="true" pass_as="out"/>
|
||||||
<parameter name="avg_in" type="gint*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="avg_in" type="gint*" owned="true" pass_as="out"/>
|
||||||
<parameter name="avg_out" type="gint*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="avg_out" type="gint*" owned="true" pass_as="out"/>
|
||||||
<parameter name="buffering_left" type="gint64*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="buffering_left" type="gint64*" owned="true" pass_as="out"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="ParseCaps" cname="gst_query_parse_caps">
|
<method name="ParseCaps" cname="gst_query_parse_caps">
|
||||||
|
@ -6607,38 +6607,38 @@
|
||||||
<method name="ParseConvert" cname="gst_query_parse_convert">
|
<method name="ParseConvert" cname="gst_query_parse_convert">
|
||||||
<return-type type="void"/>
|
<return-type type="void"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="src_format" type="GstFormat" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="src_format" type="GstFormat" owned="true" pass_as="out"/>
|
||||||
<parameter name="src_value" type="gint64*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="src_value" type="gint64*" owned="true" pass_as="out"/>
|
||||||
<parameter name="dest_format" type="GstFormat" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="dest_format" type="GstFormat" owned="true" pass_as="out"/>
|
||||||
<parameter name="dest_value" type="gint64*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="dest_value" type="gint64*" owned="true" pass_as="out"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="ParseDuration" cname="gst_query_parse_duration">
|
<method name="ParseDuration" cname="gst_query_parse_duration">
|
||||||
<return-type type="void"/>
|
<return-type type="void"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="format" type="GstFormat" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="format" type="GstFormat" owned="true" pass_as="out"/>
|
||||||
<parameter name="duration" type="gint64*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="duration" type="gint64*" owned="true" pass_as="out"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="ParseLatency" cname="gst_query_parse_latency">
|
<method name="ParseLatency" cname="gst_query_parse_latency">
|
||||||
<return-type type="void"/>
|
<return-type type="void"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="live" type="gboolean*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="live" type="gboolean*" owned="true" pass_as="out"/>
|
||||||
<parameter name="min_latency" type="guint64" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="min_latency" type="guint64" owned="true" pass_as="out"/>
|
||||||
<parameter name="max_latency" type="guint64" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="max_latency" type="guint64" owned="true" pass_as="out"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="ParseNFormats" cname="gst_query_parse_n_formats">
|
<method name="ParseNFormats" cname="gst_query_parse_n_formats">
|
||||||
<return-type type="void"/>
|
<return-type type="void"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="n_formats" type="guint*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="n_formats" type="guint*" owned="true" pass_as="out"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="ParseNthAllocationMeta" cname="gst_query_parse_nth_allocation_meta">
|
<method name="ParseNthAllocationMeta" cname="gst_query_parse_nth_allocation_meta">
|
||||||
<return-type type="GType"/>
|
<return-type type="GType"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="index" type="guint"/>
|
<parameter name="index" type="guint"/>
|
||||||
<parameter name="params" type="GstStructure**" owned="true" pass_as="out">
|
<parameter allow-none="1" name="params" type="GstStructure**" owned="true" pass_as="out">
|
||||||
<warning>missing glib:type-name</warning>
|
<warning>missing glib:type-name</warning>
|
||||||
</parameter>
|
</parameter>
|
||||||
</parameters>
|
</parameters>
|
||||||
|
@ -6647,8 +6647,8 @@
|
||||||
<return-type type="void"/>
|
<return-type type="void"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="index" type="guint"/>
|
<parameter name="index" type="guint"/>
|
||||||
<parameter name="allocator" type="GstAllocator*" pass_as="out"/>
|
<parameter allow-none="1" name="allocator" type="GstAllocator*" pass_as="out"/>
|
||||||
<parameter name="params" type="GstAllocationParams*" pass_as="out">
|
<parameter allow-none="1" name="params" type="GstAllocationParams*" pass_as="out">
|
||||||
<warning>missing glib:type-name</warning>
|
<warning>missing glib:type-name</warning>
|
||||||
</parameter>
|
</parameter>
|
||||||
</parameters>
|
</parameters>
|
||||||
|
@ -6657,25 +6657,25 @@
|
||||||
<return-type type="void"/>
|
<return-type type="void"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="index" type="guint"/>
|
<parameter name="index" type="guint"/>
|
||||||
<parameter name="pool" type="GstBufferPool*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="pool" type="GstBufferPool*" owned="true" pass_as="out"/>
|
||||||
<parameter name="size" type="guint*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="size" type="guint*" owned="true" pass_as="out"/>
|
||||||
<parameter name="min_buffers" type="guint*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="min_buffers" type="guint*" owned="true" pass_as="out"/>
|
||||||
<parameter name="max_buffers" type="guint*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="max_buffers" type="guint*" owned="true" pass_as="out"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="ParseNthBufferingRange" cname="gst_query_parse_nth_buffering_range">
|
<method name="ParseNthBufferingRange" cname="gst_query_parse_nth_buffering_range">
|
||||||
<return-type type="gboolean"/>
|
<return-type type="gboolean"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="index" type="guint"/>
|
<parameter name="index" type="guint"/>
|
||||||
<parameter name="start" type="gint64*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="start" type="gint64*" owned="true" pass_as="out"/>
|
||||||
<parameter name="stop" type="gint64*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="stop" type="gint64*" owned="true" pass_as="out"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="ParseNthFormat" cname="gst_query_parse_nth_format">
|
<method name="ParseNthFormat" cname="gst_query_parse_nth_format">
|
||||||
<return-type type="void"/>
|
<return-type type="void"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="nth" type="guint*" owned="true" pass_as="out"/>
|
<parameter name="nth" type="guint*" owned="true" pass_as="out"/>
|
||||||
<parameter name="format" type="GstFormat" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="format" type="GstFormat" owned="true" pass_as="out"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="ParseNthSchedulingMode" cname="gst_query_parse_nth_scheduling_mode">
|
<method name="ParseNthSchedulingMode" cname="gst_query_parse_nth_scheduling_mode">
|
||||||
|
@ -6687,41 +6687,41 @@
|
||||||
<method name="ParsePosition" cname="gst_query_parse_position">
|
<method name="ParsePosition" cname="gst_query_parse_position">
|
||||||
<return-type type="void"/>
|
<return-type type="void"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="format" type="GstFormat" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="format" type="GstFormat" owned="true" pass_as="out"/>
|
||||||
<parameter name="cur" type="gint64*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="cur" type="gint64*" owned="true" pass_as="out"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="ParseScheduling" cname="gst_query_parse_scheduling">
|
<method name="ParseScheduling" cname="gst_query_parse_scheduling">
|
||||||
<return-type type="void"/>
|
<return-type type="void"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="flags" type="GstSchedulingFlags" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="flags" type="GstSchedulingFlags" owned="true" pass_as="out"/>
|
||||||
<parameter name="minsize" type="gint*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="minsize" type="gint*" owned="true" pass_as="out"/>
|
||||||
<parameter name="maxsize" type="gint*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="maxsize" type="gint*" owned="true" pass_as="out"/>
|
||||||
<parameter name="align" type="gint*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="align" type="gint*" owned="true" pass_as="out"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="ParseSeeking" cname="gst_query_parse_seeking">
|
<method name="ParseSeeking" cname="gst_query_parse_seeking">
|
||||||
<return-type type="void"/>
|
<return-type type="void"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="format" type="GstFormat" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="format" type="GstFormat" owned="true" pass_as="out"/>
|
||||||
<parameter name="seekable" type="gboolean*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="seekable" type="gboolean*" owned="true" pass_as="out"/>
|
||||||
<parameter name="segment_start" type="gint64*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="segment_start" type="gint64*" owned="true" pass_as="out"/>
|
||||||
<parameter name="segment_end" type="gint64*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="segment_end" type="gint64*" owned="true" pass_as="out"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="ParseSegment" cname="gst_query_parse_segment">
|
<method name="ParseSegment" cname="gst_query_parse_segment">
|
||||||
<return-type type="void"/>
|
<return-type type="void"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="rate" type="gdouble*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="rate" type="gdouble*" owned="true" pass_as="out"/>
|
||||||
<parameter name="format" type="GstFormat" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="format" type="GstFormat" owned="true" pass_as="out"/>
|
||||||
<parameter name="start_value" type="gint64*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="start_value" type="gint64*" owned="true" pass_as="out"/>
|
||||||
<parameter name="stop_value" type="gint64*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="stop_value" type="gint64*" owned="true" pass_as="out"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="ParseUri" cname="gst_query_parse_uri">
|
<method name="ParseUri" cname="gst_query_parse_uri">
|
||||||
<return-type type="void"/>
|
<return-type type="void"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="uri" type="gchar*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="uri" type="gchar*" owned="true" pass_as="out"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="RemoveNthAllocationMeta" cname="gst_query_remove_nth_allocation_meta">
|
<method name="RemoveNthAllocationMeta" cname="gst_query_remove_nth_allocation_meta">
|
||||||
|
@ -6804,8 +6804,8 @@
|
||||||
<return-type type="void"/>
|
<return-type type="void"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="index" type="guint"/>
|
<parameter name="index" type="guint"/>
|
||||||
<parameter name="allocator" type="GstAllocator*"/>
|
<parameter allow-none="1" name="allocator" type="GstAllocator*"/>
|
||||||
<parameter name="params" type="GstAllocationParams*">
|
<parameter allow-none="1" name="params" type="GstAllocationParams*">
|
||||||
<warning>missing glib:type-name</warning>
|
<warning>missing glib:type-name</warning>
|
||||||
</parameter>
|
</parameter>
|
||||||
</parameters>
|
</parameters>
|
||||||
|
@ -6936,8 +6936,8 @@
|
||||||
<parameter name="format" type="GstFormat"/>
|
<parameter name="format" type="GstFormat"/>
|
||||||
<parameter name="start" type="guint64"/>
|
<parameter name="start" type="guint64"/>
|
||||||
<parameter name="stop" type="guint64"/>
|
<parameter name="stop" type="guint64"/>
|
||||||
<parameter name="clip_start" type="guint64*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="clip_start" type="guint64*" owned="true" pass_as="out"/>
|
||||||
<parameter name="clip_stop" type="guint64*" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="clip_stop" type="guint64*" owned="true" pass_as="out"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="Copy" cname="gst_segment_copy">
|
<method name="Copy" cname="gst_segment_copy">
|
||||||
|
@ -7376,7 +7376,7 @@
|
||||||
</return-type>
|
</return-type>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="string" type="const-gchar*"/>
|
<parameter name="string" type="const-gchar*"/>
|
||||||
<parameter name="end" type="const-gchar*" pass_as="out"/>
|
<parameter allow-none="1" name="end" type="const-gchar*" pass_as="out"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
</boxed>
|
</boxed>
|
||||||
|
@ -7754,7 +7754,7 @@
|
||||||
<method name="MergeTags" cname="gst_toc_merge_tags">
|
<method name="MergeTags" cname="gst_toc_merge_tags">
|
||||||
<return-type type="void"/>
|
<return-type type="void"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="tags" type="GstTagList*">
|
<parameter allow-none="1" name="tags" type="GstTagList*">
|
||||||
<warning>missing glib:type-name</warning>
|
<warning>missing glib:type-name</warning>
|
||||||
</parameter>
|
</parameter>
|
||||||
<parameter name="mode" type="GstTagMergeMode"/>
|
<parameter name="mode" type="GstTagMergeMode"/>
|
||||||
|
@ -7763,7 +7763,7 @@
|
||||||
<method name="SetTags" cname="gst_toc_set_tags">
|
<method name="SetTags" cname="gst_toc_set_tags">
|
||||||
<return-type type="void"/>
|
<return-type type="void"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="tags" type="GstTagList*" owned="true">
|
<parameter allow-none="1" name="tags" type="GstTagList*" owned="true">
|
||||||
<warning>missing glib:type-name</warning>
|
<warning>missing glib:type-name</warning>
|
||||||
</parameter>
|
</parameter>
|
||||||
</parameters>
|
</parameters>
|
||||||
|
@ -7837,7 +7837,7 @@
|
||||||
<method name="MergeTags" cname="gst_toc_entry_merge_tags">
|
<method name="MergeTags" cname="gst_toc_entry_merge_tags">
|
||||||
<return-type type="void"/>
|
<return-type type="void"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="tags" type="GstTagList*">
|
<parameter allow-none="1" name="tags" type="GstTagList*">
|
||||||
<warning>missing glib:type-name</warning>
|
<warning>missing glib:type-name</warning>
|
||||||
</parameter>
|
</parameter>
|
||||||
<parameter name="mode" type="GstTagMergeMode"/>
|
<parameter name="mode" type="GstTagMergeMode"/>
|
||||||
|
@ -7853,7 +7853,7 @@
|
||||||
<method name="SetTags" cname="gst_toc_entry_set_tags">
|
<method name="SetTags" cname="gst_toc_entry_set_tags">
|
||||||
<return-type type="void"/>
|
<return-type type="void"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="tags" type="GstTagList*" owned="true">
|
<parameter allow-none="1" name="tags" type="GstTagList*" owned="true">
|
||||||
<warning>missing glib:type-name</warning>
|
<warning>missing glib:type-name</warning>
|
||||||
</parameter>
|
</parameter>
|
||||||
</parameters>
|
</parameters>
|
||||||
|
@ -7889,7 +7889,7 @@
|
||||||
<parameter name="name" type="const-gchar*"/>
|
<parameter name="name" type="const-gchar*"/>
|
||||||
<parameter name="rank" type="guint"/>
|
<parameter name="rank" type="guint"/>
|
||||||
<parameter closure="6" destroy="7" scope="notified" name="func" type="GstTypeFindFunction"/>
|
<parameter closure="6" destroy="7" scope="notified" name="func" type="GstTypeFindFunction"/>
|
||||||
<parameter name="extensions" type="const-gchar*"/>
|
<parameter allow-none="1" name="extensions" type="const-gchar*"/>
|
||||||
<parameter name="possible_caps" type="GstCaps*">
|
<parameter name="possible_caps" type="GstCaps*">
|
||||||
<warning>missing glib:type-name</warning>
|
<warning>missing glib:type-name</warning>
|
||||||
</parameter>
|
</parameter>
|
||||||
|
@ -8455,7 +8455,7 @@
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="allocator" type="GstAllocator*"/>
|
<parameter name="allocator" type="GstAllocator*"/>
|
||||||
<parameter name="size" type="gsize"/>
|
<parameter name="size" type="gsize"/>
|
||||||
<parameter name="params" type="GstAllocationParams*">
|
<parameter allow-none="1" name="params" type="GstAllocationParams*">
|
||||||
<warning>missing glib:type-name</warning>
|
<warning>missing glib:type-name</warning>
|
||||||
</parameter>
|
</parameter>
|
||||||
</parameters>
|
</parameters>
|
||||||
|
@ -8546,7 +8546,7 @@
|
||||||
<parameter name="buffer" type="GstBuffer**" owned="true" pass_as="out">
|
<parameter name="buffer" type="GstBuffer**" owned="true" pass_as="out">
|
||||||
<warning>missing glib:type-name</warning>
|
<warning>missing glib:type-name</warning>
|
||||||
</parameter>
|
</parameter>
|
||||||
<parameter name="params" type="GstBufferPoolAcquireParams*">
|
<parameter allow-none="1" name="params" type="GstBufferPoolAcquireParams*">
|
||||||
<warning>missing glib:type-name</warning>
|
<warning>missing glib:type-name</warning>
|
||||||
</parameter>
|
</parameter>
|
||||||
</parameters>
|
</parameters>
|
||||||
|
@ -8774,8 +8774,8 @@
|
||||||
<return-type type="GstStateChangeReturn"/>
|
<return-type type="GstStateChangeReturn"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="element" type="GstElement*"/>
|
<parameter name="element" type="GstElement*"/>
|
||||||
<parameter name="state" type="GstState" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="state" type="GstState" owned="true" pass_as="out"/>
|
||||||
<parameter name="pending" type="GstState" owned="true" pass_as="out"/>
|
<parameter allow-none="1" name="pending" type="GstState" owned="true" pass_as="out"/>
|
||||||
<parameter name="timeout" type="guint64"/>
|
<parameter name="timeout" type="guint64"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</callback>
|
</callback>
|
||||||
|
@ -9094,7 +9094,7 @@
|
||||||
<parameter name="file" type="const-gchar*"/>
|
<parameter name="file" type="const-gchar*"/>
|
||||||
<parameter name="function" type="const-gchar*"/>
|
<parameter name="function" type="const-gchar*"/>
|
||||||
<parameter name="line" type="gint"/>
|
<parameter name="line" type="gint"/>
|
||||||
<parameter name="_object" type="GObject*"/>
|
<parameter allow-none="1" name="_object" type="GObject*"/>
|
||||||
<parameter name="format" type="const-gchar*"/>
|
<parameter name="format" type="const-gchar*"/>
|
||||||
<parameter name="arg7" type="va_list"/>
|
<parameter name="arg7" type="va_list"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
|
@ -9109,7 +9109,7 @@
|
||||||
<parameter name="file" type="const-gchar*"/>
|
<parameter name="file" type="const-gchar*"/>
|
||||||
<parameter name="function" type="const-gchar*"/>
|
<parameter name="function" type="const-gchar*"/>
|
||||||
<parameter name="line" type="gint"/>
|
<parameter name="line" type="gint"/>
|
||||||
<parameter name="_object" type="GObject*"/>
|
<parameter allow-none="1" name="_object" type="GObject*"/>
|
||||||
<parameter name="message" type="GstDebugMessage*">
|
<parameter name="message" type="GstDebugMessage*">
|
||||||
<warning>missing glib:type-name</warning>
|
<warning>missing glib:type-name</warning>
|
||||||
</parameter>
|
</parameter>
|
||||||
|
@ -9126,7 +9126,7 @@
|
||||||
<parameter name="file" type="const-gchar*"/>
|
<parameter name="file" type="const-gchar*"/>
|
||||||
<parameter name="function" type="const-gchar*"/>
|
<parameter name="function" type="const-gchar*"/>
|
||||||
<parameter name="line" type="gint"/>
|
<parameter name="line" type="gint"/>
|
||||||
<parameter name="_object" type="GObject*"/>
|
<parameter allow-none="1" name="_object" type="GObject*"/>
|
||||||
<parameter name="format" type="const-gchar*"/>
|
<parameter name="format" type="const-gchar*"/>
|
||||||
<parameter name="args" type="va_list"/>
|
<parameter name="args" type="va_list"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
|
@ -9272,15 +9272,15 @@
|
||||||
<method name="Init" cname="gst_init" shared="true">
|
<method name="Init" cname="gst_init" shared="true">
|
||||||
<return-type type="void"/>
|
<return-type type="void"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="argc" type="gint*" owned="true" pass_as="ref"/>
|
<parameter allow-none="1" name="argc" type="gint*" owned="true" pass_as="ref"/>
|
||||||
<parameter name="argv" type="char***" owned="true" pass_as="ref" array="true" array_length_param_index="0"/>
|
<parameter allow-none="1" name="argv" type="char***" owned="true" pass_as="ref" array="true" array_length_param_index="0"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="InitCheck" cname="gst_init_check" shared="true">
|
<method name="InitCheck" cname="gst_init_check" shared="true">
|
||||||
<return-type type="gboolean"/>
|
<return-type type="gboolean"/>
|
||||||
<parameters throws="1">
|
<parameters throws="1">
|
||||||
<parameter name="argc" type="gint*" owned="true" pass_as="ref"/>
|
<parameter allow-none="1" name="argc" type="gint*" owned="true" pass_as="ref"/>
|
||||||
<parameter name="argv" type="char***" owned="true" pass_as="ref" array="true" array_length_param_index="0"/>
|
<parameter allow-none="1" name="argv" type="char***" owned="true" pass_as="ref" array="true" array_length_param_index="0"/>
|
||||||
<parameter name="error" type="GError**"/>
|
<parameter name="error" type="GError**"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
|
@ -9398,7 +9398,7 @@
|
||||||
<parameters throws="1">
|
<parameters throws="1">
|
||||||
<parameter name="bin_description" type="const-gchar*"/>
|
<parameter name="bin_description" type="const-gchar*"/>
|
||||||
<parameter name="ghost_unlinked_pads" type="gboolean"/>
|
<parameter name="ghost_unlinked_pads" type="gboolean"/>
|
||||||
<parameter name="context" type="GstParseContext*">
|
<parameter allow-none="1" name="context" type="GstParseContext*">
|
||||||
<warning>missing glib:type-name</warning>
|
<warning>missing glib:type-name</warning>
|
||||||
</parameter>
|
</parameter>
|
||||||
<parameter name="flags" type="GstParseFlags"/>
|
<parameter name="flags" type="GstParseFlags"/>
|
||||||
|
@ -9419,7 +9419,7 @@
|
||||||
<return-type type="GstElement*" owned="true"/>
|
<return-type type="GstElement*" owned="true"/>
|
||||||
<parameters throws="1">
|
<parameters throws="1">
|
||||||
<parameter name="pipeline_description" type="const-gchar*"/>
|
<parameter name="pipeline_description" type="const-gchar*"/>
|
||||||
<parameter name="context" type="GstParseContext*">
|
<parameter allow-none="1" name="context" type="GstParseContext*">
|
||||||
<warning>missing glib:type-name</warning>
|
<warning>missing glib:type-name</warning>
|
||||||
</parameter>
|
</parameter>
|
||||||
<parameter name="flags" type="GstParseFlags"/>
|
<parameter name="flags" type="GstParseFlags"/>
|
||||||
|
@ -9437,7 +9437,7 @@
|
||||||
<return-type type="GstElement*" owned="true"/>
|
<return-type type="GstElement*" owned="true"/>
|
||||||
<parameters throws="1">
|
<parameters throws="1">
|
||||||
<parameter name="argv" type="const-gchar**" array="true" null_term_array="true"/>
|
<parameter name="argv" type="const-gchar**" array="true" null_term_array="true"/>
|
||||||
<parameter name="context" type="GstParseContext*">
|
<parameter allow-none="1" name="context" type="GstParseContext*">
|
||||||
<warning>missing glib:type-name</warning>
|
<warning>missing glib:type-name</warning>
|
||||||
</parameter>
|
</parameter>
|
||||||
<parameter name="flags" type="GstParseFlags"/>
|
<parameter name="flags" type="GstParseFlags"/>
|
||||||
|
@ -9514,7 +9514,7 @@
|
||||||
</return-type>
|
</return-type>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="string" type="const-gchar*"/>
|
<parameter name="string" type="const-gchar*"/>
|
||||||
<parameter name="end" type="const-gchar*" pass_as="out"/>
|
<parameter allow-none="1" name="end" type="const-gchar*" pass_as="out"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="TagExists" cname="gst_tag_exists" shared="true">
|
<method name="TagExists" cname="gst_tag_exists" shared="true">
|
||||||
|
@ -9625,7 +9625,7 @@
|
||||||
<parameter name="name" type="const-gchar*"/>
|
<parameter name="name" type="const-gchar*"/>
|
||||||
<parameter name="rank" type="guint"/>
|
<parameter name="rank" type="guint"/>
|
||||||
<parameter closure="6" destroy="7" scope="notified" name="func" type="GstTypeFindFunction"/>
|
<parameter closure="6" destroy="7" scope="notified" name="func" type="GstTypeFindFunction"/>
|
||||||
<parameter name="extensions" type="const-gchar*"/>
|
<parameter allow-none="1" name="extensions" type="const-gchar*"/>
|
||||||
<parameter name="possible_caps" type="GstCaps*">
|
<parameter name="possible_caps" type="GstCaps*">
|
||||||
<warning>missing glib:type-name</warning>
|
<warning>missing glib:type-name</warning>
|
||||||
</parameter>
|
</parameter>
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
<attr path="/api/namespace/object[@cname='GstPad']/property[@name='Caps']" name="type">gpointer</attr>
|
<attr path="/api/namespace/object[@cname='GstPad']/property[@name='Caps']" name="type">gpointer</attr>
|
||||||
<attr path="/api/namespace/object[@cname='GstPad']/property[@name='Caps']" name="type">gpointer</attr>
|
<attr path="/api/namespace/object[@cname='GstPad']/property[@name='Caps']" name="type">gpointer</attr>
|
||||||
<attr path="/api/namespace/object[@cname='GstPadTemplate']/property[@name='Caps']" name="type">gpointer</attr>
|
<attr path="/api/namespace/object[@cname='GstPadTemplate']/property[@name='Caps']" name="type">gpointer</attr>
|
||||||
|
<attr path="/api/namespace/object[@cname='GstObject']/field[@cname='object']" name="name">Obj</attr>
|
||||||
<!-- Error with array -->
|
<!-- Error with array -->
|
||||||
<attr path="/api/namespace/object[@cname='GstGlobal']/method[@cname='gst_formats_contains']" name="hidden">true</attr>
|
<attr path="/api/namespace/object[@cname='GstGlobal']/method[@cname='gst_formats_contains']" name="hidden">true</attr>
|
||||||
<!-- MiniObject issues -->
|
<!-- MiniObject issues -->
|
||||||
|
@ -28,6 +29,12 @@
|
||||||
<attr path="/api/namespace/object[@cname='GstGlobal']/method[@cname='gst_init_check']/parameters/parameter[@name='argc']" name="name">n_argc</attr>
|
<attr path="/api/namespace/object[@cname='GstGlobal']/method[@cname='gst_init_check']/parameters/parameter[@name='argc']" name="name">n_argc</attr>
|
||||||
<!-- calling oldobj.Handle should fix this -->
|
<!-- calling oldobj.Handle should fix this -->
|
||||||
<remove-attr path="/api/namespace/object[@cname='GstObject']/method[@cname='gst_object_replace']/parameters/parameter[@name='oldobj']" name="pass_as" />
|
<remove-attr path="/api/namespace/object[@cname='GstObject']/method[@cname='gst_object_replace']/parameters/parameter[@name='oldobj']" name="pass_as" />
|
||||||
|
<!-- Some glue problems -->
|
||||||
|
<attr path="/api/namespace/object[@cname='GstObject']/field[@cname='object']" name="hidden">true</attr>
|
||||||
|
<attr path="/api/namespace/object[@cname='GstObject']/field[@cname='lock']" name="hidden">true</attr>
|
||||||
|
<attr path="/api/namespace/struct[@cname='GstClockEntry']/field[@cname='func']" name="hidden">true</attr>
|
||||||
|
<attr path="/api/namespace/struct[@cname='GstClockEntry']/field[@cname='destroy_data']" name="hidden">true</attr>
|
||||||
|
<attr path="/api/namespace/object[@cname='GstTask']/field[@cname='notify']" name="hidden">true</attr>
|
||||||
<!-- Element is not abstract but should not be instantiable from managed -->
|
<!-- Element is not abstract but should not be instantiable from managed -->
|
||||||
<remove-attr path="/api/namespace/object[@cname='GstElement']" name="abstract" />
|
<remove-attr path="/api/namespace/object[@cname='GstElement']" name="abstract" />
|
||||||
<attr path="/api/namespace/object[@cname='GstElement']" name="defaultconstructoraccess" >protected</attr>
|
<attr path="/api/namespace/object[@cname='GstElement']" name="defaultconstructoraccess" >protected</attr>
|
||||||
|
|
Binary file not shown.
Loading…
Reference in a new issue