From acf2d55e24d3ce907ec5f18e6212c24e4009555b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 28 May 2009 15:34:17 +0200 Subject: [PATCH] Also don't include properties of the base classes from libgstbase in element bindings --- elementgen/gst-xmlinspect.c | 10 ++- .../baseplugins/inspect/decodebin.raw | 12 +-- .../baseplugins/inspect/decodebin2.raw | 12 +-- .../baseplugins/inspect/xvimagesink.raw | 78 +------------------ .../coreplugins/inspect/capsfilter.raw | 16 +--- .../coreplugins/inspect/fakesink.raw | 76 ------------------ .../coreplugins/inspect/fakesrc.raw | 34 -------- .../coreplugins/inspect/fdsink.raw | 76 ------------------ gstreamer-sharp/coreplugins/inspect/fdsrc.raw | 34 -------- .../coreplugins/inspect/filesink.raw | 76 ------------------ .../coreplugins/inspect/filesrc.raw | 34 -------- .../coreplugins/inspect/identity.raw | 16 +--- .../coreplugins/inspect/multiqueue.raw | 12 +-- gstreamer-sharp/coreplugins/inspect/queue.raw | 8 +- gstreamer-sharp/coreplugins/inspect/tee.raw | 12 +-- .../coreplugins/inspect/typefind.raw | 8 +- 16 files changed, 50 insertions(+), 464 deletions(-) diff --git a/elementgen/gst-xmlinspect.c b/elementgen/gst-xmlinspect.c index 635d461d9e..dbde81faba 100644 --- a/elementgen/gst-xmlinspect.c +++ b/elementgen/gst-xmlinspect.c @@ -27,6 +27,10 @@ #include #include +#include +#include +#include +#include #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"); diff --git a/gstreamer-sharp/baseplugins/inspect/decodebin.raw b/gstreamer-sharp/baseplugins/inspect/decodebin.raw index b57f37d391..27f3d3b603 100644 --- a/gstreamer-sharp/baseplugins/inspect/decodebin.raw +++ b/gstreamer-sharp/baseplugins/inspect/decodebin.raw @@ -20,18 +20,18 @@ - - sink - sink - always - ANY - src%d src sometimes ANY + + sink + sink + always + ANY + diff --git a/gstreamer-sharp/baseplugins/inspect/decodebin2.raw b/gstreamer-sharp/baseplugins/inspect/decodebin2.raw index e802d00ac0..e7e1038185 100644 --- a/gstreamer-sharp/baseplugins/inspect/decodebin2.raw +++ b/gstreamer-sharp/baseplugins/inspect/decodebin2.raw @@ -20,18 +20,18 @@ - - sink - sink - always - ANY - src%d src sometimes ANY + + sink + sink + always + ANY + diff --git a/gstreamer-sharp/baseplugins/inspect/xvimagesink.raw b/gstreamer-sharp/baseplugins/inspect/xvimagesink.raw index 0ebd9177f4..fa9660b67d 100644 --- a/gstreamer-sharp/baseplugins/inspect/xvimagesink.raw +++ b/gstreamer-sharp/baseplugins/inspect/xvimagesink.raw @@ -19,11 +19,11 @@ + - @@ -55,82 +55,6 @@ - - preroll-queue-len - guint - Preroll queue length - Number of buffers to queue during preroll - RW - - 0 - - - sync - gboolean - Sync - Sync on the clock - RW - TRUE - - - max-lateness - gint64 - Max Lateness - Maximum number of nanoseconds that a buffer can be late before it is dropped (-1 unlimited) - RW - - 20000000 - - - qos - gboolean - Qos - Generate Quality-of-Service events upstream - RW - TRUE - - - async - gboolean - Async - Go asynchronously to PAUSED - RW - TRUE - - - ts-offset - gint64 - TS Offset - Timestamp offset in nanoseconds - RW - - 0 - - - last-buffer - GstBuffer - Last Buffer - The last buffer received in the sink - R - - - blocksize - guint - Block size - Size in bytes to pull per buffer (0 = default) - RW - - 4096 - - - render-delay - guint64 - Render Delay - Additional render delay of the sink in nanoseconds - RW - - 0 - contrast gint diff --git a/gstreamer-sharp/coreplugins/inspect/capsfilter.raw b/gstreamer-sharp/coreplugins/inspect/capsfilter.raw index 18ba3879ee..f3bb190866 100644 --- a/gstreamer-sharp/coreplugins/inspect/capsfilter.raw +++ b/gstreamer-sharp/coreplugins/inspect/capsfilter.raw @@ -20,14 +20,14 @@ - sink - sink + src + src always ANY - src - src + sink + sink always ANY @@ -63,14 +63,6 @@ - - qos - gboolean - QoS - Handle Quality-of-Service events - RW - FALSE - caps GstCaps diff --git a/gstreamer-sharp/coreplugins/inspect/fakesink.raw b/gstreamer-sharp/coreplugins/inspect/fakesink.raw index 995344c704..e64e811810 100644 --- a/gstreamer-sharp/coreplugins/inspect/fakesink.raw +++ b/gstreamer-sharp/coreplugins/inspect/fakesink.raw @@ -48,82 +48,6 @@ - - preroll-queue-len - guint - Preroll queue length - Number of buffers to queue during preroll - RW - - 0 - - - sync - gboolean - Sync - Sync on the clock - RW - FALSE - - - max-lateness - gint64 - Max Lateness - Maximum number of nanoseconds that a buffer can be late before it is dropped (-1 unlimited) - RW - - -1 - - - qos - gboolean - Qos - Generate Quality-of-Service events upstream - RW - FALSE - - - async - gboolean - Async - Go asynchronously to PAUSED - RW - TRUE - - - ts-offset - gint64 - TS Offset - Timestamp offset in nanoseconds - RW - - 0 - - - last-buffer - GstBuffer - Last Buffer - The last buffer received in the sink - R - - - blocksize - guint - Block size - Size in bytes to pull per buffer (0 = default) - RW - - 4096 - - - render-delay - guint64 - Render Delay - Additional render delay of the sink in nanoseconds - RW - - 0 - state-error GstFakeSinkStateError diff --git a/gstreamer-sharp/coreplugins/inspect/fakesrc.raw b/gstreamer-sharp/coreplugins/inspect/fakesrc.raw index 438426f383..b6f135ab7b 100644 --- a/gstreamer-sharp/coreplugins/inspect/fakesrc.raw +++ b/gstreamer-sharp/coreplugins/inspect/fakesrc.raw @@ -48,40 +48,6 @@ - - blocksize - gulong - Block size - Size in bytes to read per buffer (-1 = default) - RW - - 4096 - - - num-buffers - gint - num-buffers - Number of buffers to output before sending EOS (-1 = unlimited) - RW - - -1 - - - typefind - gboolean - Typefind - Run typefind before negotiating - RW - FALSE - - - do-timestamp - gboolean - Do timestamp - Apply current stream time to buffers - RW - FALSE - data GstFakeSrcDataType diff --git a/gstreamer-sharp/coreplugins/inspect/fdsink.raw b/gstreamer-sharp/coreplugins/inspect/fdsink.raw index 97f189f7a8..d53c5c86e7 100644 --- a/gstreamer-sharp/coreplugins/inspect/fdsink.raw +++ b/gstreamer-sharp/coreplugins/inspect/fdsink.raw @@ -50,82 +50,6 @@ - - preroll-queue-len - guint - Preroll queue length - Number of buffers to queue during preroll - RW - - 0 - - - sync - gboolean - Sync - Sync on the clock - RW - TRUE - - - max-lateness - gint64 - Max Lateness - Maximum number of nanoseconds that a buffer can be late before it is dropped (-1 unlimited) - RW - - -1 - - - qos - gboolean - Qos - Generate Quality-of-Service events upstream - RW - FALSE - - - async - gboolean - Async - Go asynchronously to PAUSED - RW - TRUE - - - ts-offset - gint64 - TS Offset - Timestamp offset in nanoseconds - RW - - 0 - - - last-buffer - GstBuffer - Last Buffer - The last buffer received in the sink - R - - - blocksize - guint - Block size - Size in bytes to pull per buffer (0 = default) - RW - - 4096 - - - render-delay - guint64 - Render Delay - Additional render delay of the sink in nanoseconds - RW - - 0 - fd gint diff --git a/gstreamer-sharp/coreplugins/inspect/fdsrc.raw b/gstreamer-sharp/coreplugins/inspect/fdsrc.raw index f572b23316..bfbc9d20e9 100644 --- a/gstreamer-sharp/coreplugins/inspect/fdsrc.raw +++ b/gstreamer-sharp/coreplugins/inspect/fdsrc.raw @@ -51,40 +51,6 @@ - - blocksize - gulong - Block size - Size in bytes to read per buffer (-1 = default) - RW - - 4096 - - - num-buffers - gint - num-buffers - Number of buffers to output before sending EOS (-1 = unlimited) - RW - - -1 - - - typefind - gboolean - Typefind - Run typefind before negotiating - RW - FALSE - - - do-timestamp - gboolean - Do timestamp - Apply current stream time to buffers - RW - FALSE - fd gint diff --git a/gstreamer-sharp/coreplugins/inspect/filesink.raw b/gstreamer-sharp/coreplugins/inspect/filesink.raw index bcf2e745f0..1d2bf64fee 100644 --- a/gstreamer-sharp/coreplugins/inspect/filesink.raw +++ b/gstreamer-sharp/coreplugins/inspect/filesink.raw @@ -50,82 +50,6 @@ - - preroll-queue-len - guint - Preroll queue length - Number of buffers to queue during preroll - RW - - 0 - - - sync - gboolean - Sync - Sync on the clock - RW - FALSE - - - max-lateness - gint64 - Max Lateness - Maximum number of nanoseconds that a buffer can be late before it is dropped (-1 unlimited) - RW - - -1 - - - qos - gboolean - Qos - Generate Quality-of-Service events upstream - RW - FALSE - - - async - gboolean - Async - Go asynchronously to PAUSED - RW - TRUE - - - ts-offset - gint64 - TS Offset - Timestamp offset in nanoseconds - RW - - 0 - - - last-buffer - GstBuffer - Last Buffer - The last buffer received in the sink - R - - - blocksize - guint - Block size - Size in bytes to pull per buffer (0 = default) - RW - - 4096 - - - render-delay - guint64 - Render Delay - Additional render delay of the sink in nanoseconds - RW - - 0 - location gchararray diff --git a/gstreamer-sharp/coreplugins/inspect/filesrc.raw b/gstreamer-sharp/coreplugins/inspect/filesrc.raw index a2fb516e51..e17920c003 100644 --- a/gstreamer-sharp/coreplugins/inspect/filesrc.raw +++ b/gstreamer-sharp/coreplugins/inspect/filesrc.raw @@ -49,40 +49,6 @@ - - blocksize - gulong - Block size - Size in bytes to read per buffer (-1 = default) - RW - - 4096 - - - num-buffers - gint - num-buffers - Number of buffers to output before sending EOS (-1 = unlimited) - RW - - -1 - - - typefind - gboolean - Typefind - Run typefind before negotiating - RW - FALSE - - - do-timestamp - gboolean - Do timestamp - Apply current stream time to buffers - RW - FALSE - location gchararray diff --git a/gstreamer-sharp/coreplugins/inspect/identity.raw b/gstreamer-sharp/coreplugins/inspect/identity.raw index 0c44779804..56e0ca4bf8 100644 --- a/gstreamer-sharp/coreplugins/inspect/identity.raw +++ b/gstreamer-sharp/coreplugins/inspect/identity.raw @@ -20,14 +20,14 @@ - sink - sink + src + src always ANY - src - src + sink + sink always ANY @@ -63,14 +63,6 @@ - - qos - gboolean - QoS - Handle Quality-of-Service events - RW - FALSE - sleep-time guint diff --git a/gstreamer-sharp/coreplugins/inspect/multiqueue.raw b/gstreamer-sharp/coreplugins/inspect/multiqueue.raw index 04a1274fb1..f536041bda 100644 --- a/gstreamer-sharp/coreplugins/inspect/multiqueue.raw +++ b/gstreamer-sharp/coreplugins/inspect/multiqueue.raw @@ -17,12 +17,6 @@ - - src%d - src - sometimes - ANY - sink%d sink @@ -30,6 +24,12 @@ gst_multi_queue_request_new_pad ANY + + src%d + src + sometimes + ANY + diff --git a/gstreamer-sharp/coreplugins/inspect/queue.raw b/gstreamer-sharp/coreplugins/inspect/queue.raw index 39d1c65564..d6fed6e91f 100644 --- a/gstreamer-sharp/coreplugins/inspect/queue.raw +++ b/gstreamer-sharp/coreplugins/inspect/queue.raw @@ -18,14 +18,14 @@ - sink - sink + src + src always ANY - src - src + sink + sink always ANY diff --git a/gstreamer-sharp/coreplugins/inspect/tee.raw b/gstreamer-sharp/coreplugins/inspect/tee.raw index baa4b547ec..4161602bc2 100644 --- a/gstreamer-sharp/coreplugins/inspect/tee.raw +++ b/gstreamer-sharp/coreplugins/inspect/tee.raw @@ -17,6 +17,12 @@ + + sink + sink + always + ANY + src%d src @@ -24,12 +30,6 @@ gst_tee_request_new_pad ANY - - sink - sink - always - ANY - diff --git a/gstreamer-sharp/coreplugins/inspect/typefind.raw b/gstreamer-sharp/coreplugins/inspect/typefind.raw index 9dee1ac69f..491dce894f 100644 --- a/gstreamer-sharp/coreplugins/inspect/typefind.raw +++ b/gstreamer-sharp/coreplugins/inspect/typefind.raw @@ -18,14 +18,14 @@ - sink - sink + src + src always ANY - src - src + sink + sink always ANY