diff --git a/doc/en/Gst/Element.xml b/doc/en/Gst/Element.xml
index 41e913d662..80a4c2719c 100644
--- a/doc/en/Gst/Element.xml
+++ b/doc/en/Gst/Element.xml
@@ -607,16 +607,7 @@
System.Boolean
To be added.To be added.To be added.To be added.To be added.To be added.To be added.
- Method0.9.5.99System.BooleanTo be added.To be added.To be added.To be added.To be added.Method0.9.5.99System.BooleanTo be added.To be added.To be added.To be added.To be added.
-
- Method
-
- 0.9.5.99
-
- System.Boolean
-
- To be added.To be added.To be added.To be added.To be added.To be added.To be added.
-
+ Method0.9.5.99System.BooleanTo be added.To be added.To be added.To be added.To be added.Method0.9.5.99System.BooleanTo be added.To be added.To be added.To be added.To be added.
Method
diff --git a/doc/en/Gst/ElementFactory.xml b/doc/en/Gst/ElementFactory.xml
index f8527fa95c..b8938c2ccd 100644
--- a/doc/en/Gst/ElementFactory.xml
+++ b/doc/en/Gst/ElementFactory.xml
@@ -156,7 +156,7 @@
System.UInt32
To be added.To be added.To be added.
-
+ Method0.9.5.99System.BooleanTo be added.To be added.To be added.To be added.To be added.To be added.To be added.
Property
diff --git a/doc/en/Gst/Index.xml b/doc/en/Gst/Index.xml
index 0905dfb849..410261f8db 100644
--- a/doc/en/Gst/Index.xml
+++ b/doc/en/Gst/Index.xml
@@ -177,7 +177,7 @@
System.Boolean
To be added.To be added.To be added.To be added.To be added.
- Method0.9.5.99System.BooleanTo be added.To be added.To be added.To be added.To be added.To be added.To be added.
+
Property
diff --git a/doc/en/Gst/IndexFactory.xml b/doc/en/Gst/IndexFactory.xml
index e29d757900..3cb035394a 100644
--- a/doc/en/Gst/IndexFactory.xml
+++ b/doc/en/Gst/IndexFactory.xml
@@ -19,7 +19,8 @@
-
+
+
Constructor
@@ -70,6 +71,5 @@
Gst.Index
To be added.To be added.To be added.To be added.
-
-
+ Method0.9.5.99System.BooleanTo be added.To be added.To be added.To be added.To be added.To be added.To be added.
diff --git a/doc/en/Gst/TypeFind.xml b/doc/en/Gst/TypeFind.xml
index 4d81c4f338..b3ac171ff5 100644
--- a/doc/en/Gst/TypeFind.xml
+++ b/doc/en/Gst/TypeFind.xml
@@ -35,7 +35,7 @@
System.UInt64
To be added.To be added.To be added.
- Method0.9.5.99System.Byte[]To be added.To be added.To be added.To be added.To be added.Method0.9.5.99System.BooleanTo be added.To be added.To be added.To be added.To be added.To be added.To be added.To be added.To be added.
+ Method0.9.5.99System.Byte[]To be added.To be added.To be added.To be added.To be added.
Method
diff --git a/doc/en/Gst/TypeFindFactory.xml b/doc/en/Gst/TypeFindFactory.xml
index bef5df8207..3a4373585c 100644
--- a/doc/en/Gst/TypeFindFactory.xml
+++ b/doc/en/Gst/TypeFindFactory.xml
@@ -19,7 +19,8 @@
-
+
+
Constructor
@@ -76,6 +77,5 @@
Gst.TypeFindFactory[]
To be added.To be added.To be added.
-
-
+ Method0.9.5.99System.BooleanTo be added.To be added.To be added.To be added.To be added.To be added.To be added.To be added.To be added.
diff --git a/gstreamer-sharp/Gstreamer.metadata b/gstreamer-sharp/Gstreamer.metadata
index 944fa2bd3e..fcde966fc8 100644
--- a/gstreamer-sharp/Gstreamer.metadata
+++ b/gstreamer-sharp/Gstreamer.metadata
@@ -296,6 +296,7 @@
Seek
/api/namespace/object[@name='ElementFactory']
+ /api/namespace/object[@name='ElementFactory']
1
diff --git a/gstreamer-sharp/Index.custom b/gstreamer-sharp/Index.custom
index aaaebf969c..a7b0264379 100644
--- a/gstreamer-sharp/Index.custom
+++ b/gstreamer-sharp/Index.custom
@@ -11,15 +11,3 @@ public bool IsWritable {
}
}
-[DllImport ("gstreamersharpglue-0.10") ]
-static extern void gstsharp_gst_index_factory_set_plugin (IntPtr factory, IntPtr plugin);
-
-public static bool Register (Gst.Plugin plugin, string name, string longdesc, GLib.GType gtype) {
- Gst.IndexFactory factory = new Gst.IndexFactory (name, longdesc, gtype);
- gstsharp_gst_index_factory_set_plugin (factory.Handle, (plugin != null) ? plugin.Handle : IntPtr.Zero);
-
- Gst.Registry.Default.AddFeature (factory);
-
- return true;
-}
-
diff --git a/gstreamer-sharp/IndexFactory.custom b/gstreamer-sharp/IndexFactory.custom
new file mode 100644
index 0000000000..f2b8ffa6bd
--- /dev/null
+++ b/gstreamer-sharp/IndexFactory.custom
@@ -0,0 +1,12 @@
+[DllImport ("gstreamersharpglue-0.10") ]
+static extern void gstsharp_gst_index_factory_set_plugin (IntPtr factory, IntPtr plugin);
+
+public static bool Register (Gst.Plugin plugin, string name, string longdesc, GLib.GType gtype) {
+ Gst.IndexFactory factory = new Gst.IndexFactory (name, longdesc, gtype);
+ gstsharp_gst_index_factory_set_plugin (factory.Handle, (plugin != null) ? plugin.Handle : IntPtr.Zero);
+
+ Gst.Registry.Default.AddFeature (factory);
+
+ return true;
+}
+
diff --git a/gstreamer-sharp/Makefile.am b/gstreamer-sharp/Makefile.am
index 21c31df1ed..c921129499 100644
--- a/gstreamer-sharp/Makefile.am
+++ b/gstreamer-sharp/Makefile.am
@@ -62,7 +62,7 @@ customs = \
Bus.custom \
Caps.custom \
Clock.custom \
- ClockEntry.custom \
+ ClockEntry.custom \
Debug.custom \
Element.custom \
Message.custom \
@@ -76,12 +76,14 @@ customs = \
MiniObject.custom \
IndexEntry.custom \
Index.custom \
+ IndexFactory.custom \
Registry.custom \
Query.custom \
Structure.custom \
Tag.custom \
TagList.custom \
- TypeFind.custom
+ TypeFind.custom \
+ TypeFindFactory.custom
build_customs = $(addprefix $(srcdir)/, $(customs))
diff --git a/gstreamer-sharp/TypeFind.custom b/gstreamer-sharp/TypeFind.custom
index 3d48041365..2fb21da72f 100644
--- a/gstreamer-sharp/TypeFind.custom
+++ b/gstreamer-sharp/TypeFind.custom
@@ -1,17 +1,3 @@
-[DllImport ("gstreamer-0.10.dll") ]
-static extern bool gst_type_find_register (IntPtr plugin, IntPtr name, uint rank, GstSharp.TypeFindFunctionNative func, IntPtr[] extensions, IntPtr possible_caps, IntPtr data, IntPtr data_notify);
-
-public static bool Register (Gst.Plugin plugin, string name, uint rank, Gst.TypeFindFunction func, string[] extensions, Gst.Caps possible_caps) {
- IntPtr native_name = GLib.Marshaller.StringToPtrGStrdup (name);
- IntPtr[] native_extensions = GLib.Marshaller.StringArrayToNullTermPointer (extensions);
- GstSharp.TypeFindFunctionWrapper func_wrapper = new GstSharp.TypeFindFunctionWrapper (func);
- bool raw_ret = gst_type_find_register (plugin == null ? IntPtr.Zero : plugin.Handle, native_name, rank, func_wrapper.NativeDelegate, native_extensions, possible_caps == null ? IntPtr.Zero : possible_caps.Handle, IntPtr.Zero, IntPtr.Zero);
- bool ret = raw_ret;
- GLib.Marshaller.Free (native_name);
- GLib.Marshaller.Free (native_extensions);
- return ret;
-}
-
[DllImport ("gstreamer-0.10.dll") ]
static extern IntPtr gst_type_find_peek (IntPtr raw, long offset, uint size);
diff --git a/gstreamer-sharp/TypeFindFactory.custom b/gstreamer-sharp/TypeFindFactory.custom
new file mode 100644
index 0000000000..0440ad05a6
--- /dev/null
+++ b/gstreamer-sharp/TypeFindFactory.custom
@@ -0,0 +1,14 @@
+[DllImport ("gstreamer-0.10.dll") ]
+static extern bool gst_type_find_register (IntPtr plugin, IntPtr name, uint rank, GstSharp.TypeFindFunctionNative func, IntPtr[] extensions, IntPtr possible_caps, IntPtr data, IntPtr data_notify);
+
+public static bool Register (Gst.Plugin plugin, string name, uint rank, Gst.TypeFindFunction func, string[] extensions, Gst.Caps possible_caps) {
+ IntPtr native_name = GLib.Marshaller.StringToPtrGStrdup (name);
+ IntPtr[] native_extensions = GLib.Marshaller.StringArrayToNullTermPointer (extensions);
+ GstSharp.TypeFindFunctionWrapper func_wrapper = new GstSharp.TypeFindFunctionWrapper (func);
+ bool raw_ret = gst_type_find_register (plugin == null ? IntPtr.Zero : plugin.Handle, native_name, rank, func_wrapper.NativeDelegate, native_extensions, possible_caps == null ? IntPtr.Zero : possible_caps.Handle, IntPtr.Zero, IntPtr.Zero);
+ bool ret = raw_ret;
+ GLib.Marshaller.Free (native_name);
+ GLib.Marshaller.Free (native_extensions);
+ return ret;
+}
+