Remove GParamSpec subclasses as they are not handled in the code generator
authorThibault Saunier <thibault.saunier@osg.samsung.com>
Fri, 29 Sep 2017 00:54:03 +0000 (21:54 -0300)
committerThibault Saunier <thibault.saunier@osg.samsung.com>
Fri, 29 Sep 2017 00:54:03 +0000 (21:54 -0300)
sources/generated/meson.build
sources/gstreamer-sharp.metadata

index f4a25c3..2a64c84 100644 (file)
@@ -173,7 +173,6 @@ generated_sources = [
     'Gst_ElementCallAsyncFunc.cs',
     'Gst_ValueTable.cs',
     'Gst_Object.cs',
-    'Gst_ParamSpecArray.cs',
     'Gst_GstSharp.MetaFreeFunctionNative.cs',
     'Gst_ElementRemovedHandler.cs',
     'Gst_GstSharp.MemoryShareFunctionNative.cs',
@@ -198,7 +197,6 @@ generated_sources = [
     'Gst_StreamType.cs',
     'Gst_PadProbeInfo.cs',
     'Gst_DeepElementAddedHandler.cs',
-    'Gst_ParamSpecFraction.cs',
     'Gst_CapsMapFunc.cs',
     'Gst_GstSharp.IteratorNextFunctionNative.cs',
     'Gst_PadLinkFunction.cs',
index 22048dc..1662a5d 100644 (file)
@@ -23,6 +23,11 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
        <remove-node path="/api/namespace/object[@cname='GstPad']/property[@name='Caps']"/>
        <!-- Error with array -->
        <attr path="/api/namespace/object[@cname='GstGlobal']/method[@cname='gst_formats_contains']" name="hidden">true</attr>
+
+       <!-- GParamSpec are not handled in the generator -->
+       <attr path="/api/namespace/struct[@cname='GstParamSpecArray']" name="hidden">true</attr>
+       <attr path="/api/namespace/struct[@cname='GstParamSpecFraction']" name="hidden">true</attr>
+
        <!-- MiniObject issues -->
        <attr path="/api/namespace/struct[@cname='GstMiniObject']" name="opaque">true</attr>
        <attr path="/api/namespace/struct[@cname='GstMiniObject']/field[@cname='copy']" name="type">gpointer</attr>