Also don't include properties of the base classes from libgstbase in element bindings
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 28 May 2009 13:34:17 +0000 (15:34 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 28 May 2009 13:34:17 +0000 (15:34 +0200)
16 files changed:
elementgen/gst-xmlinspect.c
gstreamer-sharp/baseplugins/inspect/decodebin.raw
gstreamer-sharp/baseplugins/inspect/decodebin2.raw
gstreamer-sharp/baseplugins/inspect/xvimagesink.raw
gstreamer-sharp/coreplugins/inspect/capsfilter.raw
gstreamer-sharp/coreplugins/inspect/fakesink.raw
gstreamer-sharp/coreplugins/inspect/fakesrc.raw
gstreamer-sharp/coreplugins/inspect/fdsink.raw
gstreamer-sharp/coreplugins/inspect/fdsrc.raw
gstreamer-sharp/coreplugins/inspect/filesink.raw
gstreamer-sharp/coreplugins/inspect/filesrc.raw
gstreamer-sharp/coreplugins/inspect/identity.raw
gstreamer-sharp/coreplugins/inspect/multiqueue.raw
gstreamer-sharp/coreplugins/inspect/queue.raw
gstreamer-sharp/coreplugins/inspect/tee.raw
gstreamer-sharp/coreplugins/inspect/typefind.raw

index 635d461..dbde81f 100644 (file)
 #include <glib/gprintf.h>
 
 #include <gst/gst.h>
+#include <gst/base/gstbasesrc.h>
+#include <gst/base/gstbasesink.h>
+#include <gst/base/gstbasetransform.h>
+#include <gst/base/gstpushsrc.h>
 
 #define PUT_START_TAG(pfx,tag)                                  \
 G_STMT_START{                                                   \
@@ -249,7 +253,11 @@ print_element_properties (GstElement * element, gint pfx)
     if (param->owner_type == GST_TYPE_OBJECT ||
         param->owner_type == GST_TYPE_ELEMENT ||
        param->owner_type == GST_TYPE_BIN ||
-       param->owner_type == GST_TYPE_PIPELINE)
+       param->owner_type == GST_TYPE_PIPELINE ||
+       param->owner_type == GST_TYPE_BASE_SRC ||
+       param->owner_type == GST_TYPE_BASE_SINK ||
+       param->owner_type == GST_TYPE_BASE_TRANSFORM ||
+       param->owner_type == GST_TYPE_PUSH_SRC)
       continue;
 
     PUT_START_TAG (pfx + 1, "element-property");
index b57f37d..27f3d3b 100644 (file)
  </interfaces>
  <pad-templates>
   <pad-template>
-   <name>sink</name>
-   <direction>sink</direction>
-   <presence>always</presence>
-   <caps>ANY</caps>
-  </pad-template>
-  <pad-template>
    <name>src%d</name>
    <direction>src</direction>
    <presence>sometimes</presence>
    <caps>ANY</caps>
   </pad-template>
+  <pad-template>
+   <name>sink</name>
+   <direction>sink</direction>
+   <presence>always</presence>
+   <caps>ANY</caps>
+  </pad-template>
  </pad-templates>
  <element-flags>
  </element-flags>
index e802d00..e7e1038 100644 (file)
  </interfaces>
  <pad-templates>
   <pad-template>
-   <name>sink</name>
-   <direction>sink</direction>
-   <presence>always</presence>
-   <caps>ANY</caps>
-  </pad-template>
-  <pad-template>
    <name>src%d</name>
    <direction>src</direction>
    <presence>sometimes</presence>
    <caps>ANY</caps>
   </pad-template>
+  <pad-template>
+   <name>sink</name>
+   <direction>sink</direction>
+   <presence>always</presence>
+   <caps>ANY</caps>
+  </pad-template>
  </pad-templates>
  <element-flags>
  </element-flags>
index 0ebd917..fa9660b 100644 (file)
   </object>
  </object>
  <interfaces>
+  <interface name="GstPropertyProbe" />
   <interface name="GstImplementsInterface" />
   <interface name="GstNavigation" />
   <interface name="GstXOverlay" />
   <interface name="GstColorBalance" />
-  <interface name="GstPropertyProbe" />
  </interfaces>
  <pad-templates>
   <pad-template>
  </pads>
  <element-properties>
   <element-property>
-   <name>preroll-queue-len</name>
-   <type>guint</type>
-   <nick>Preroll queue length</nick>
-   <blurb>Number of buffers to queue during preroll</blurb>
-   <flags>RW</flags>
-   <range min="0" max="4294967295"/>
-   <default>0</default>
-  </element-property>
-  <element-property>
-   <name>sync</name>
-   <type>gboolean</type>
-   <nick>Sync</nick>
-   <blurb>Sync on the clock</blurb>
-   <flags>RW</flags>
-   <default>TRUE</default>
-  </element-property>
-  <element-property>
-   <name>max-lateness</name>
-   <type>gint64</type>
-   <nick>Max Lateness</nick>
-   <blurb>Maximum number of nanoseconds that a buffer can be late before it is dropped (-1 unlimited)</blurb>
-   <flags>RW</flags>
-   <range min="-1" max="9223372036854775807"/>
-   <default>20000000</default>
-  </element-property>
-  <element-property>
-   <name>qos</name>
-   <type>gboolean</type>
-   <nick>Qos</nick>
-   <blurb>Generate Quality-of-Service events upstream</blurb>
-   <flags>RW</flags>
-   <default>TRUE</default>
-  </element-property>
-  <element-property>
-   <name>async</name>
-   <type>gboolean</type>
-   <nick>Async</nick>
-   <blurb>Go asynchronously to PAUSED</blurb>
-   <flags>RW</flags>
-   <default>TRUE</default>
-  </element-property>
-  <element-property>
-   <name>ts-offset</name>
-   <type>gint64</type>
-   <nick>TS Offset</nick>
-   <blurb>Timestamp offset in nanoseconds</blurb>
-   <flags>RW</flags>
-   <range min="-9223372036854775808" max="9223372036854775807"/>
-   <default>0</default>
-  </element-property>
-  <element-property>
-   <name>last-buffer</name>
-   <type>GstBuffer</type>
-   <nick>Last Buffer</nick>
-   <blurb>The last buffer received in the sink</blurb>
-   <flags>R</flags>
-  </element-property>
-  <element-property>
-   <name>blocksize</name>
-   <type>guint</type>
-   <nick>Block size</nick>
-   <blurb>Size in bytes to pull per buffer (0 = default)</blurb>
-   <flags>RW</flags>
-   <range min="0" max="4294967295"/>
-   <default>4096</default>
-  </element-property>
-  <element-property>
-   <name>render-delay</name>
-   <type>guint64</type>
-   <nick>Render Delay</nick>
-   <blurb>Additional render delay of the sink in nanoseconds</blurb>
-   <flags>RW</flags>
-   <range min="0" max="18446744073709551615"/>
-   <default>0</default>
-  </element-property>
-  <element-property>
    <name>contrast</name>
    <type>gint</type>
    <nick>Contrast</nick>
index 18ba387..f3bb190 100644 (file)
  </interfaces>
  <pad-templates>
   <pad-template>
-   <name>sink</name>
-   <direction>sink</direction>
+   <name>src</name>
+   <direction>src</direction>
    <presence>always</presence>
    <caps>ANY</caps>
   </pad-template>
   <pad-template>
-   <name>src</name>
-   <direction>src</direction>
+   <name>sink</name>
+   <direction>sink</direction>
    <presence>always</presence>
    <caps>ANY</caps>
   </pad-template>
  </pads>
  <element-properties>
   <element-property>
-   <name>qos</name>
-   <type>gboolean</type>
-   <nick>QoS</nick>
-   <blurb>Handle Quality-of-Service events</blurb>
-   <flags>RW</flags>
-   <default>FALSE</default>
-  </element-property>
-  <element-property>
    <name>caps</name>
    <type>GstCaps</type>
    <nick>Filter caps</nick>
index 995344c..e64e811 100644 (file)
  </pads>
  <element-properties>
   <element-property>
-   <name>preroll-queue-len</name>
-   <type>guint</type>
-   <nick>Preroll queue length</nick>
-   <blurb>Number of buffers to queue during preroll</blurb>
-   <flags>RW</flags>
-   <range min="0" max="4294967295"/>
-   <default>0</default>
-  </element-property>
-  <element-property>
-   <name>sync</name>
-   <type>gboolean</type>
-   <nick>Sync</nick>
-   <blurb>Sync on the clock</blurb>
-   <flags>RW</flags>
-   <default>FALSE</default>
-  </element-property>
-  <element-property>
-   <name>max-lateness</name>
-   <type>gint64</type>
-   <nick>Max Lateness</nick>
-   <blurb>Maximum number of nanoseconds that a buffer can be late before it is dropped (-1 unlimited)</blurb>
-   <flags>RW</flags>
-   <range min="-1" max="9223372036854775807"/>
-   <default>-1</default>
-  </element-property>
-  <element-property>
-   <name>qos</name>
-   <type>gboolean</type>
-   <nick>Qos</nick>
-   <blurb>Generate Quality-of-Service events upstream</blurb>
-   <flags>RW</flags>
-   <default>FALSE</default>
-  </element-property>
-  <element-property>
-   <name>async</name>
-   <type>gboolean</type>
-   <nick>Async</nick>
-   <blurb>Go asynchronously to PAUSED</blurb>
-   <flags>RW</flags>
-   <default>TRUE</default>
-  </element-property>
-  <element-property>
-   <name>ts-offset</name>
-   <type>gint64</type>
-   <nick>TS Offset</nick>
-   <blurb>Timestamp offset in nanoseconds</blurb>
-   <flags>RW</flags>
-   <range min="-9223372036854775808" max="9223372036854775807"/>
-   <default>0</default>
-  </element-property>
-  <element-property>
-   <name>last-buffer</name>
-   <type>GstBuffer</type>
-   <nick>Last Buffer</nick>
-   <blurb>The last buffer received in the sink</blurb>
-   <flags>R</flags>
-  </element-property>
-  <element-property>
-   <name>blocksize</name>
-   <type>guint</type>
-   <nick>Block size</nick>
-   <blurb>Size in bytes to pull per buffer (0 = default)</blurb>
-   <flags>RW</flags>
-   <range min="0" max="4294967295"/>
-   <default>4096</default>
-  </element-property>
-  <element-property>
-   <name>render-delay</name>
-   <type>guint64</type>
-   <nick>Render Delay</nick>
-   <blurb>Additional render delay of the sink in nanoseconds</blurb>
-   <flags>RW</flags>
-   <range min="0" max="18446744073709551615"/>
-   <default>0</default>
-  </element-property>
-  <element-property>
    <name>state-error</name>
    <type>GstFakeSinkStateError</type>
    <nick>State Error</nick>
index 438426f..b6f135a 100644 (file)
  </pads>
  <element-properties>
   <element-property>
-   <name>blocksize</name>
-   <type>gulong</type>
-   <nick>Block size</nick>
-   <blurb>Size in bytes to read per buffer (-1 = default)</blurb>
-   <flags>RW</flags>
-   <range min="0" max="18446744073709551615"/>
-   <default>4096</default>
-  </element-property>
-  <element-property>
-   <name>num-buffers</name>
-   <type>gint</type>
-   <nick>num-buffers</nick>
-   <blurb>Number of buffers to output before sending EOS (-1 = unlimited)</blurb>
-   <flags>RW</flags>
-   <range min="-1" max="2147483647"/>
-   <default>-1</default>
-  </element-property>
-  <element-property>
-   <name>typefind</name>
-   <type>gboolean</type>
-   <nick>Typefind</nick>
-   <blurb>Run typefind before negotiating</blurb>
-   <flags>RW</flags>
-   <default>FALSE</default>
-  </element-property>
-  <element-property>
-   <name>do-timestamp</name>
-   <type>gboolean</type>
-   <nick>Do timestamp</nick>
-   <blurb>Apply current stream time to buffers</blurb>
-   <flags>RW</flags>
-   <default>FALSE</default>
-  </element-property>
-  <element-property>
    <name>data</name>
    <type>GstFakeSrcDataType</type>
    <nick>data</nick>
index 97f189f..d53c5c8 100644 (file)
  </pads>
  <element-properties>
   <element-property>
-   <name>preroll-queue-len</name>
-   <type>guint</type>
-   <nick>Preroll queue length</nick>
-   <blurb>Number of buffers to queue during preroll</blurb>
-   <flags>RW</flags>
-   <range min="0" max="4294967295"/>
-   <default>0</default>
-  </element-property>
-  <element-property>
-   <name>sync</name>
-   <type>gboolean</type>
-   <nick>Sync</nick>
-   <blurb>Sync on the clock</blurb>
-   <flags>RW</flags>
-   <default>TRUE</default>
-  </element-property>
-  <element-property>
-   <name>max-lateness</name>
-   <type>gint64</type>
-   <nick>Max Lateness</nick>
-   <blurb>Maximum number of nanoseconds that a buffer can be late before it is dropped (-1 unlimited)</blurb>
-   <flags>RW</flags>
-   <range min="-1" max="9223372036854775807"/>
-   <default>-1</default>
-  </element-property>
-  <element-property>
-   <name>qos</name>
-   <type>gboolean</type>
-   <nick>Qos</nick>
-   <blurb>Generate Quality-of-Service events upstream</blurb>
-   <flags>RW</flags>
-   <default>FALSE</default>
-  </element-property>
-  <element-property>
-   <name>async</name>
-   <type>gboolean</type>
-   <nick>Async</nick>
-   <blurb>Go asynchronously to PAUSED</blurb>
-   <flags>RW</flags>
-   <default>TRUE</default>
-  </element-property>
-  <element-property>
-   <name>ts-offset</name>
-   <type>gint64</type>
-   <nick>TS Offset</nick>
-   <blurb>Timestamp offset in nanoseconds</blurb>
-   <flags>RW</flags>
-   <range min="-9223372036854775808" max="9223372036854775807"/>
-   <default>0</default>
-  </element-property>
-  <element-property>
-   <name>last-buffer</name>
-   <type>GstBuffer</type>
-   <nick>Last Buffer</nick>
-   <blurb>The last buffer received in the sink</blurb>
-   <flags>R</flags>
-  </element-property>
-  <element-property>
-   <name>blocksize</name>
-   <type>guint</type>
-   <nick>Block size</nick>
-   <blurb>Size in bytes to pull per buffer (0 = default)</blurb>
-   <flags>RW</flags>
-   <range min="0" max="4294967295"/>
-   <default>4096</default>
-  </element-property>
-  <element-property>
-   <name>render-delay</name>
-   <type>guint64</type>
-   <nick>Render Delay</nick>
-   <blurb>Additional render delay of the sink in nanoseconds</blurb>
-   <flags>RW</flags>
-   <range min="0" max="18446744073709551615"/>
-   <default>0</default>
-  </element-property>
-  <element-property>
    <name>fd</name>
    <type>gint</type>
    <nick>fd</nick>
index f572b23..bfbc9d2 100644 (file)
  </pads>
  <element-properties>
   <element-property>
-   <name>blocksize</name>
-   <type>gulong</type>
-   <nick>Block size</nick>
-   <blurb>Size in bytes to read per buffer (-1 = default)</blurb>
-   <flags>RW</flags>
-   <range min="0" max="18446744073709551615"/>
-   <default>4096</default>
-  </element-property>
-  <element-property>
-   <name>num-buffers</name>
-   <type>gint</type>
-   <nick>num-buffers</nick>
-   <blurb>Number of buffers to output before sending EOS (-1 = unlimited)</blurb>
-   <flags>RW</flags>
-   <range min="-1" max="2147483647"/>
-   <default>-1</default>
-  </element-property>
-  <element-property>
-   <name>typefind</name>
-   <type>gboolean</type>
-   <nick>Typefind</nick>
-   <blurb>Run typefind before negotiating</blurb>
-   <flags>RW</flags>
-   <default>FALSE</default>
-  </element-property>
-  <element-property>
-   <name>do-timestamp</name>
-   <type>gboolean</type>
-   <nick>Do timestamp</nick>
-   <blurb>Apply current stream time to buffers</blurb>
-   <flags>RW</flags>
-   <default>FALSE</default>
-  </element-property>
-  <element-property>
    <name>fd</name>
    <type>gint</type>
    <nick>fd</nick>
index bcf2e74..1d2bf64 100644 (file)
  </pads>
  <element-properties>
   <element-property>
-   <name>preroll-queue-len</name>
-   <type>guint</type>
-   <nick>Preroll queue length</nick>
-   <blurb>Number of buffers to queue during preroll</blurb>
-   <flags>RW</flags>
-   <range min="0" max="4294967295"/>
-   <default>0</default>
-  </element-property>
-  <element-property>
-   <name>sync</name>
-   <type>gboolean</type>
-   <nick>Sync</nick>
-   <blurb>Sync on the clock</blurb>
-   <flags>RW</flags>
-   <default>FALSE</default>
-  </element-property>
-  <element-property>
-   <name>max-lateness</name>
-   <type>gint64</type>
-   <nick>Max Lateness</nick>
-   <blurb>Maximum number of nanoseconds that a buffer can be late before it is dropped (-1 unlimited)</blurb>
-   <flags>RW</flags>
-   <range min="-1" max="9223372036854775807"/>
-   <default>-1</default>
-  </element-property>
-  <element-property>
-   <name>qos</name>
-   <type>gboolean</type>
-   <nick>Qos</nick>
-   <blurb>Generate Quality-of-Service events upstream</blurb>
-   <flags>RW</flags>
-   <default>FALSE</default>
-  </element-property>
-  <element-property>
-   <name>async</name>
-   <type>gboolean</type>
-   <nick>Async</nick>
-   <blurb>Go asynchronously to PAUSED</blurb>
-   <flags>RW</flags>
-   <default>TRUE</default>
-  </element-property>
-  <element-property>
-   <name>ts-offset</name>
-   <type>gint64</type>
-   <nick>TS Offset</nick>
-   <blurb>Timestamp offset in nanoseconds</blurb>
-   <flags>RW</flags>
-   <range min="-9223372036854775808" max="9223372036854775807"/>
-   <default>0</default>
-  </element-property>
-  <element-property>
-   <name>last-buffer</name>
-   <type>GstBuffer</type>
-   <nick>Last Buffer</nick>
-   <blurb>The last buffer received in the sink</blurb>
-   <flags>R</flags>
-  </element-property>
-  <element-property>
-   <name>blocksize</name>
-   <type>guint</type>
-   <nick>Block size</nick>
-   <blurb>Size in bytes to pull per buffer (0 = default)</blurb>
-   <flags>RW</flags>
-   <range min="0" max="4294967295"/>
-   <default>4096</default>
-  </element-property>
-  <element-property>
-   <name>render-delay</name>
-   <type>guint64</type>
-   <nick>Render Delay</nick>
-   <blurb>Additional render delay of the sink in nanoseconds</blurb>
-   <flags>RW</flags>
-   <range min="0" max="18446744073709551615"/>
-   <default>0</default>
-  </element-property>
-  <element-property>
    <name>location</name>
    <type>gchararray</type>
    <nick>File Location</nick>
index a2fb516..e17920c 100644 (file)
  </pads>
  <element-properties>
   <element-property>
-   <name>blocksize</name>
-   <type>gulong</type>
-   <nick>Block size</nick>
-   <blurb>Size in bytes to read per buffer (-1 = default)</blurb>
-   <flags>RW</flags>
-   <range min="0" max="18446744073709551615"/>
-   <default>4096</default>
-  </element-property>
-  <element-property>
-   <name>num-buffers</name>
-   <type>gint</type>
-   <nick>num-buffers</nick>
-   <blurb>Number of buffers to output before sending EOS (-1 = unlimited)</blurb>
-   <flags>RW</flags>
-   <range min="-1" max="2147483647"/>
-   <default>-1</default>
-  </element-property>
-  <element-property>
-   <name>typefind</name>
-   <type>gboolean</type>
-   <nick>Typefind</nick>
-   <blurb>Run typefind before negotiating</blurb>
-   <flags>RW</flags>
-   <default>FALSE</default>
-  </element-property>
-  <element-property>
-   <name>do-timestamp</name>
-   <type>gboolean</type>
-   <nick>Do timestamp</nick>
-   <blurb>Apply current stream time to buffers</blurb>
-   <flags>RW</flags>
-   <default>FALSE</default>
-  </element-property>
-  <element-property>
    <name>location</name>
    <type>gchararray</type>
    <nick>File Location</nick>
index 0c44779..56e0ca4 100644 (file)
  </interfaces>
  <pad-templates>
   <pad-template>
-   <name>sink</name>
-   <direction>sink</direction>
+   <name>src</name>
+   <direction>src</direction>
    <presence>always</presence>
    <caps>ANY</caps>
   </pad-template>
   <pad-template>
-   <name>src</name>
-   <direction>src</direction>
+   <name>sink</name>
+   <direction>sink</direction>
    <presence>always</presence>
    <caps>ANY</caps>
   </pad-template>
  </pads>
  <element-properties>
   <element-property>
-   <name>qos</name>
-   <type>gboolean</type>
-   <nick>QoS</nick>
-   <blurb>Handle Quality-of-Service events</blurb>
-   <flags>RW</flags>
-   <default>FALSE</default>
-  </element-property>
-  <element-property>
    <name>sleep-time</name>
    <type>guint</type>
    <nick>Sleep time</nick>
index 04a1274..f536041 100644 (file)
  </interfaces>
  <pad-templates>
   <pad-template>
-   <name>src%d</name>
-   <direction>src</direction>
-   <presence>sometimes</presence>
-   <caps>ANY</caps>
-  </pad-template>
-  <pad-template>
    <name>sink%d</name>
    <direction>sink</direction>
    <presence>request</presence>
    <request-function>gst_multi_queue_request_new_pad</request-function>
    <caps>ANY</caps>
   </pad-template>
+  <pad-template>
+   <name>src%d</name>
+   <direction>src</direction>
+   <presence>sometimes</presence>
+   <caps>ANY</caps>
+  </pad-template>
  </pad-templates>
  <element-flags>
  </element-flags>
index 39d1c65..d6fed6e 100644 (file)
  </interfaces>
  <pad-templates>
   <pad-template>
-   <name>sink</name>
-   <direction>sink</direction>
+   <name>src</name>
+   <direction>src</direction>
    <presence>always</presence>
    <caps>ANY</caps>
   </pad-template>
   <pad-template>
-   <name>src</name>
-   <direction>src</direction>
+   <name>sink</name>
+   <direction>sink</direction>
    <presence>always</presence>
    <caps>ANY</caps>
   </pad-template>
index baa4b54..4161602 100644 (file)
  </interfaces>
  <pad-templates>
   <pad-template>
+   <name>sink</name>
+   <direction>sink</direction>
+   <presence>always</presence>
+   <caps>ANY</caps>
+  </pad-template>
+  <pad-template>
    <name>src%d</name>
    <direction>src</direction>
    <presence>request</presence>
    <request-function>gst_tee_request_new_pad</request-function>
    <caps>ANY</caps>
   </pad-template>
-  <pad-template>
-   <name>sink</name>
-   <direction>sink</direction>
-   <presence>always</presence>
-   <caps>ANY</caps>
-  </pad-template>
  </pad-templates>
  <element-flags>
  </element-flags>
index 9dee1ac..491dce8 100644 (file)
  </interfaces>
  <pad-templates>
   <pad-template>
-   <name>sink</name>
-   <direction>sink</direction>
+   <name>src</name>
+   <direction>src</direction>
    <presence>always</presence>
    <caps>ANY</caps>
   </pad-template>
   <pad-template>
-   <name>src</name>
-   <direction>src</direction>
+   <name>sink</name>
+   <direction>sink</direction>
    <presence>always</presence>
    <caps>ANY</caps>
   </pad-template>