Add TypeFindHelper bindings
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 28 May 2009 13:26:30 +0000 (15:26 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 28 May 2009 13:26:30 +0000 (15:26 +0200)
gstreamer-sharp/Gstreamer.metadata

index 9fcc690..c0e8e06 100644 (file)
   <attr path="/api/namespace/object[@cname='GstPushSrc']/virtual_method[@cname='create']/parameters/parameter[@name='buf']" name="owned">true</attr>
   <attr path="/api/namespace/object[@cname='GstPushSrc']/virtual_method[@cname='create']/parameters/parameter[@name='buf']" name="pass_as">out</attr>
 
+  <!-- FIXME: Why can't this be parsed?! -->
+  <add-node path="/api/namespace[@name='Gst.Base']">
+    <class name="TypeFindHelper" cname="GstTypeFindHelper">
+        <method name="TypeFind" cname="gst_type_find_helper" shared="true">
+          <return-type type="GstCaps*" owned="true" />
+         <parameters>
+           <parameter type="GstPad*" name="src" />
+           <parameter type="guint64" name="size" />
+         </parameters>
+        </method>
+        <method name="TypeFind" cname="gst_type_find_helper_for_buffer" shared="true">
+          <return-type type="GstCaps*" owned="true" />
+         <parameters>
+           <parameter type="GstObject*" name="obj" />
+           <parameter type="GstBuffer*" name="buf" />
+           <parameter type="GstTypeFindProbability*" name="prob" pass_as="out"/>
+         </parameters>
+        </method>
+        <method name="TypeFind" cname="gst_type_find_helper_for_extension" shared="true">
+          <return-type type="GstCaps*" owned="true" />
+         <parameters>
+           <parameter type="GstObject*" name="obj" />
+           <parameter type="const-gchar*" name="extension" />
+         </parameters>
+        </method>
+        <method name="TypeFind" cname="gst_type_find_helper_get_range" shared="true">
+          <return-type type="GstCaps*" owned="true" />
+         <parameters>
+           <parameter type="GstObject*" name="obj" />
+           <parameter type="GstTypeFindHelperGetRangeFunction" name="func" />
+           <parameter type="guint64" name="size" />
+           <parameter type="GstTypeFindProbability*" name="prob" pass_as="out"/>
+         </parameters>
+        </method>
+    </class>
+  </add-node>
+
   <!-- GStreamer Interfaces library -->
   <attr path="/api/namespace/enum[@cname='GstColorBalanceType']" name="name">ColorBalanceType</attr>
   <attr path="/api/namespace/enum[@cname='GstMixerFlags']" name="name">MixerFlags</attr>