[gst-cvs] gstreamer-sharp: Update element bindings to 0.10.24

Sebastian Dröge slomo at kemper.freedesktop.org
Fri Sep 11 01:35:04 PDT 2009


Module: gstreamer-sharp
Branch: master
Commit: d335a85e8890d5d9e8a9ed8d8a93b7c65c797003
URL:    http://cgit.freedesktop.org/gstreamer/gstreamer-sharp/commit/?id=d335a85e8890d5d9e8a9ed8d8a93b7c65c797003

Author: Sebastian Dröge <sebastian.droege at collabora.co.uk>
Date:   Fri Sep 11 10:29:15 2009 +0200

Update element bindings to 0.10.24

---

 gstreamer-sharp/baseplugins/Makefile.am            |    2 +-
 gstreamer-sharp/baseplugins/inspect/decodebin2.raw |    2 +-
 gstreamer-sharp/baseplugins/inspect/playbin2.raw   |   29 ++++++++++++++++++-
 gstreamer-sharp/baseplugins/playbin2.metadata      |    3 ++
 gstreamer-sharp/coreplugins/Makefile.am            |    2 +-
 gstreamer-sharp/coreplugins/inspect/capsfilter.raw |    8 +++---
 gstreamer-sharp/coreplugins/inspect/identity.raw   |    8 +++---
 gstreamer-sharp/coreplugins/inspect/multiqueue.raw |   12 ++++----
 gstreamer-sharp/coreplugins/inspect/queue.raw      |    8 +++---
 gstreamer-sharp/coreplugins/inspect/tee.raw        |   12 ++++----
 gstreamer-sharp/coreplugins/inspect/typefind.raw   |    8 +++---
 11 files changed, 61 insertions(+), 33 deletions(-)

diff --git a/gstreamer-sharp/baseplugins/Makefile.am b/gstreamer-sharp/baseplugins/Makefile.am
index 2a0f6fb..5022e42 100644
--- a/gstreamer-sharp/baseplugins/Makefile.am
+++ b/gstreamer-sharp/baseplugins/Makefile.am
@@ -10,7 +10,7 @@ XML_FILES = $(patsubst %,$(builddir)/%.xml,$(ELEMENTS))
 EXTRA_DIST = $(METADATA_FILES) $(CUSTOM_FILES) $(INSPECT_FILES)
 CLEANFILES = $(XML_FILES) $(CS_FILES)
 
-plugins-update: $(patsubst inspect/%.raw, inspect-%, $(INSPECT_FILES))
+plugins-update: $(patsubst $(srcdir)/inspect/%.raw, inspect-%, $(INSPECT_FILES))
 inspect-%:
 	$(top_builddir)/elementgen/gsts-xmlinspect $(patsubst inspect-%,%,$@) > inspect/$(patsubst inspect-%,%,$@).raw
 
diff --git a/gstreamer-sharp/baseplugins/inspect/decodebin2.raw b/gstreamer-sharp/baseplugins/inspect/decodebin2.raw
index e7e1038..37aac4e 100644
--- a/gstreamer-sharp/baseplugins/inspect/decodebin2.raw
+++ b/gstreamer-sharp/baseplugins/inspect/decodebin2.raw
@@ -67,7 +67,7 @@
    <nick>Caps</nick>
    <blurb>The caps on which to stop decoding.</blurb>
    <flags>RW</flags>
-  <caps>video/x-raw-yuv; video/x-raw-rgb; video/x-raw-gray; audio/x-raw-int; audio/x-raw-float; text/plain; text/x-pango-markup; video/x-dvd-subpicture</caps>
+  <caps>video/x-raw-yuv; video/x-raw-rgb; video/x-raw-gray; audio/x-raw-int; audio/x-raw-float; text/plain; text/x-pango-markup; video/x-dvd-subpicture; subpicture/x-pgs</caps>
   </element-property>
   <element-property>
    <name>subtitle-encoding</name>
diff --git a/gstreamer-sharp/baseplugins/inspect/playbin2.raw b/gstreamer-sharp/baseplugins/inspect/playbin2.raw
index 4748dca..0068b77 100644
--- a/gstreamer-sharp/baseplugins/inspect/playbin2.raw
+++ b/gstreamer-sharp/baseplugins/inspect/playbin2.raw
@@ -78,6 +78,7 @@
     <flag value="16" nick="soft-volume"/>
     <flag value="32" nick="native-audio"/>
     <flag value="64" nick="native-video"/>
+    <flag value="128" nick="download"/>
    </flags-values>
   </element-property>
   <element-property>
@@ -186,7 +187,7 @@
    <name>volume</name>
    <type>gdouble</type>
    <nick>Volume</nick>
-   <blurb>The audio volume</blurb>
+   <blurb>The audio volume, 1.0=100%</blurb>
    <flags>RW</flags>
    <range min="0" max="10"/>
    <default>1,000000</default>
@@ -220,7 +221,7 @@
    <nick>Connection Speed</nick>
    <blurb>Network connection speed in kbps (0 = unknown)</blurb>
    <flags>RW</flags>
-   <range min="0" max="4294967295"/>
+   <range min="0" max="4294967"/>
    <default>0</default>
   </element-property>
   <element-property>
@@ -271,6 +272,30 @@
    <params>
    </params>
   </signal>
+  <signal>
+   <name>video-tags-changed</name>
+   <return-type>void</return-type>
+   <object-type>GstPlayBin2</object-type>
+   <params>
+    <type>gint</type>
+   </params>
+  </signal>
+  <signal>
+   <name>audio-tags-changed</name>
+   <return-type>void</return-type>
+   <object-type>GstPlayBin2</object-type>
+   <params>
+    <type>gint</type>
+   </params>
+  </signal>
+  <signal>
+   <name>text-tags-changed</name>
+   <return-type>void</return-type>
+   <object-type>GstPlayBin2</object-type>
+   <params>
+    <type>gint</type>
+   </params>
+  </signal>
  </element-signals>
  <element-actions>
   <signal>
diff --git a/gstreamer-sharp/baseplugins/playbin2.metadata b/gstreamer-sharp/baseplugins/playbin2.metadata
index 54b5339..657e23e 100644
--- a/gstreamer-sharp/baseplugins/playbin2.metadata
+++ b/gstreamer-sharp/baseplugins/playbin2.metadata
@@ -7,5 +7,8 @@
   <attr path="/element/element-actions/signal/name[child::text()='get-video-pad']/../params/type[1]" name="name">index</attr>
   <attr path="/element/element-actions/signal/name[child::text()='get-audio-pad']/../params/type[1]" name="name">index</attr>
   <attr path="/element/element-actions/signal/name[child::text()='get-text-pad']/../params/type[1]" name="name">index</attr>
+  <attr path="/element/element-signals/signal/name[child::text()='video-tags-changed']/../params/type[1]" name="name">index</attr>
+  <attr path="/element/element-signals/signal/name[child::text()='audio-tags-changed']/../params/type[1]" name="name">index</attr>
+  <attr path="/element/element-signals/signal/name[child::text()='text-tags-changed']/../params/type[1]" name="name">index</attr>
   <add-node path="/element/element-properties/element-property/name[child::text()='flags']/.."><managed_name>PlayFlags</managed_name></add-node>
 </metadata>
diff --git a/gstreamer-sharp/coreplugins/Makefile.am b/gstreamer-sharp/coreplugins/Makefile.am
index 7a45326..3b26131 100644
--- a/gstreamer-sharp/coreplugins/Makefile.am
+++ b/gstreamer-sharp/coreplugins/Makefile.am
@@ -15,7 +15,7 @@ XML_FILES = $(patsubst %,$(builddir)/%.xml,$(ELEMENTS))
 EXTRA_DIST = $(METADATA_FILES) $(CUSTOM_FILES) $(INSPECT_FILES) $(OTHER_CS_FILES)
 CLEANFILES = $(XML_FILES) $(CS_FILES)
 
-plugins-update: $(patsubst inspect/%.raw, inspect-%, $(INSPECT_FILES))
+plugins-update: $(patsubst $(srcdir)/inspect/%.raw, inspect-%, $(INSPECT_FILES))
 inspect-%:
 	$(top_builddir)/elementgen/gsts-xmlinspect $(patsubst inspect-%,%,$@) > inspect/$(patsubst inspect-%,%,$@).raw
 
diff --git a/gstreamer-sharp/coreplugins/inspect/capsfilter.raw b/gstreamer-sharp/coreplugins/inspect/capsfilter.raw
index f3bb190..5e0b674 100644
--- a/gstreamer-sharp/coreplugins/inspect/capsfilter.raw
+++ b/gstreamer-sharp/coreplugins/inspect/capsfilter.raw
@@ -20,14 +20,14 @@
  </interfaces>
  <pad-templates>
   <pad-template>
-   <name>src</name>
-   <direction>src</direction>
+   <name>sink</name>
+   <direction>sink</direction>
    <presence>always</presence>
    <caps>ANY</caps>
   </pad-template>
   <pad-template>
-   <name>sink</name>
-   <direction>sink</direction>
+   <name>src</name>
+   <direction>src</direction>
    <presence>always</presence>
    <caps>ANY</caps>
   </pad-template>
diff --git a/gstreamer-sharp/coreplugins/inspect/identity.raw b/gstreamer-sharp/coreplugins/inspect/identity.raw
index 56e0ca4..a4435cf 100644
--- a/gstreamer-sharp/coreplugins/inspect/identity.raw
+++ b/gstreamer-sharp/coreplugins/inspect/identity.raw
@@ -20,14 +20,14 @@
  </interfaces>
  <pad-templates>
   <pad-template>
-   <name>src</name>
-   <direction>src</direction>
+   <name>sink</name>
+   <direction>sink</direction>
    <presence>always</presence>
    <caps>ANY</caps>
   </pad-template>
   <pad-template>
-   <name>sink</name>
-   <direction>sink</direction>
+   <name>src</name>
+   <direction>src</direction>
    <presence>always</presence>
    <caps>ANY</caps>
   </pad-template>
diff --git a/gstreamer-sharp/coreplugins/inspect/multiqueue.raw b/gstreamer-sharp/coreplugins/inspect/multiqueue.raw
index f536041..04a1274 100644
--- a/gstreamer-sharp/coreplugins/inspect/multiqueue.raw
+++ b/gstreamer-sharp/coreplugins/inspect/multiqueue.raw
@@ -18,18 +18,18 @@
  </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>
diff --git a/gstreamer-sharp/coreplugins/inspect/queue.raw b/gstreamer-sharp/coreplugins/inspect/queue.raw
index d6fed6e..39d1c65 100644
--- a/gstreamer-sharp/coreplugins/inspect/queue.raw
+++ b/gstreamer-sharp/coreplugins/inspect/queue.raw
@@ -18,14 +18,14 @@
  </interfaces>
  <pad-templates>
   <pad-template>
-   <name>src</name>
-   <direction>src</direction>
+   <name>sink</name>
+   <direction>sink</direction>
    <presence>always</presence>
    <caps>ANY</caps>
   </pad-template>
   <pad-template>
-   <name>sink</name>
-   <direction>sink</direction>
+   <name>src</name>
+   <direction>src</direction>
    <presence>always</presence>
    <caps>ANY</caps>
   </pad-template>
diff --git a/gstreamer-sharp/coreplugins/inspect/tee.raw b/gstreamer-sharp/coreplugins/inspect/tee.raw
index 4161602..baa4b54 100644
--- a/gstreamer-sharp/coreplugins/inspect/tee.raw
+++ b/gstreamer-sharp/coreplugins/inspect/tee.raw
@@ -18,18 +18,18 @@
  </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>
diff --git a/gstreamer-sharp/coreplugins/inspect/typefind.raw b/gstreamer-sharp/coreplugins/inspect/typefind.raw
index 491dce8..9dee1ac 100644
--- a/gstreamer-sharp/coreplugins/inspect/typefind.raw
+++ b/gstreamer-sharp/coreplugins/inspect/typefind.raw
@@ -18,14 +18,14 @@
  </interfaces>
  <pad-templates>
   <pad-template>
-   <name>src</name>
-   <direction>src</direction>
+   <name>sink</name>
+   <direction>sink</direction>
    <presence>always</presence>
    <caps>ANY</caps>
   </pad-template>
   <pad-template>
-   <name>sink</name>
-   <direction>sink</direction>
+   <name>src</name>
+   <direction>src</direction>
    <presence>always</presence>
    <caps>ANY</caps>
   </pad-template>





More information about the Gstreamer-commits mailing list