Update element bindings to 0.10.24

This commit is contained in:
Sebastian Dröge 2009-09-11 10:29:15 +02:00
parent 3bfd60a046
commit d335a85e88
11 changed files with 61 additions and 33 deletions

View file

@ -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

View file

@ -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>

View file

@ -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>

View file

@ -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>

View file

@ -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

View file

@ -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>

View file

@ -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>

View file

@ -17,6 +17,12 @@
<interfaces>
</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>
@ -24,12 +30,6 @@
<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>

View file

@ -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>

View file

@ -17,12 +17,6 @@
<interfaces>
</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>
@ -30,6 +24,12 @@
<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>

View file

@ -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>