Update gir-files from gstreamer-rs-sys

This commit is contained in:
Sebastian Dröge 2018-11-05 11:13:57 +02:00
parent 7360e50280
commit 825bf7301e
5 changed files with 8592 additions and 81 deletions

View file

@ -11,7 +11,7 @@ and/or use gtk-doc annotations. -->
<include name="Gst" version="1.0"/>
<include name="GstPbutils" version="1.0"/>
<include name="GstVideo" version="1.0"/>
<package name="ges-1.0"/>
<package name="gst-editing-services-1.0"/>
<c:include name="ges/ges.h"/>
<namespace name="GES"
version="1.0"
@ -5841,69 +5841,6 @@ only to find out what the new location is.</doc>
</record>
<record name="ProjectPrivate" c:type="GESProjectPrivate" disguised="1">
</record>
<class name="SmartAdder"
c:symbol-prefix="smart_adder"
c:type="GESSmartAdder"
parent="Gst.Bin"
glib:type-name="GESSmartAdder"
glib:get-type="ges_smart_adder_get_type"
glib:type-struct="SmartAdderClass">
<implements name="Gst.ChildProxy"/>
<constructor name="new" c:identifier="ges_smart_adder_new">
<return-value transfer-ownership="none">
<type name="Gst.Element" c:type="GstElement*"/>
</return-value>
<parameters>
<parameter name="track" transfer-ownership="none">
<type name="Track" c:type="GESTrack*"/>
</parameter>
</parameters>
</constructor>
<field name="parent_instance">
<type name="Gst.Bin" c:type="GstBin"/>
</field>
<field name="pads_infos">
<type name="GLib.HashTable" c:type="GHashTable*">
<type name="gpointer" c:type="gpointer"/>
<type name="gpointer" c:type="gpointer"/>
</type>
</field>
<field name="srcpad">
<type name="Gst.Pad" c:type="GstPad*"/>
</field>
<field name="adder">
<type name="Gst.Element" c:type="GstElement*"/>
</field>
<field name="capsfilter">
<type name="Gst.Element" c:type="GstElement*"/>
</field>
<field name="lock">
<type name="GLib.Mutex" c:type="GMutex"/>
</field>
<field name="caps">
<type name="Gst.Caps" c:type="GstCaps*"/>
</field>
<field name="track">
<type name="Track" c:type="GESTrack*"/>
</field>
<field name="_ges_reserved">
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>
</class>
<record name="SmartAdderClass"
c:type="GESSmartAdderClass"
glib:is-gtype-struct-for="SmartAdder">
<field name="parent_class">
<type name="Gst.BinClass" c:type="GstBinClass"/>
</field>
<field name="_ges_reserved">
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>
</record>
<class name="Source"
c:symbol-prefix="source"
c:type="GESSource"
@ -8561,7 +8498,7 @@ is much more convenient for C programming.</doc>
</parameter>
<parameter name="value" transfer-ownership="none">
<doc xml:space="preserve">the value</doc>
<type name="GObject.Value" c:type="GValue*"/>
<type name="GObject.Value" c:type="const GValue*"/>
</parameter>
</parameters>
</method>
@ -8582,7 +8519,7 @@ is much more convenient for C programming.</doc>
</parameter>
<parameter name="value" transfer-ownership="none">
<doc xml:space="preserve">the value</doc>
<type name="GObject.Value" c:type="GValue*"/>
<type name="GObject.Value" c:type="const GValue*"/>
</parameter>
</parameters>
</method>

View file

@ -5714,7 +5714,7 @@ and will be packed into @data.</doc>
</parameter>
<parameter name="src" transfer-ownership="none">
<doc xml:space="preserve">a source array</doc>
<array zero-terminated="0" c:type="const gpointer">
<array zero-terminated="0" c:type="gconstpointer">
<type name="guint8"/>
</array>
</parameter>
@ -5755,7 +5755,7 @@ channels * size(unpack_format) bytes.</doc>
</parameter>
<parameter name="data" transfer-ownership="none">
<doc xml:space="preserve">pointer to the audio data</doc>
<array zero-terminated="0" c:type="const gpointer">
<array zero-terminated="0" c:type="gconstpointer">
<type name="guint8"/>
</array>
</parameter>

8477
gir-files/GstGL-1.0.gir Normal file

File diff suppressed because it is too large Load diff

View file

@ -414,7 +414,7 @@ Consult the relevant specifications for more details.</doc>
<type name="guint16" c:type="guint16"/>
</field>
<field name="descriptors" writable="1">
<doc xml:space="preserve">descriptors</doc>
<doc xml:space="preserve">an array of #GstMpegtsDescriptor</doc>
<array name="GLib.PtrArray" c:type="GPtrArray*">
<type name="Descriptor"/>
</array>
@ -455,7 +455,10 @@ Consult the relevant specifications for more details.</doc>
</field>
</record>
<record name="CableDeliverySystemDescriptor"
c:type="GstMpegtsCableDeliverySystemDescriptor">
c:type="GstMpegtsCableDeliverySystemDescriptor"
glib:type-name="GstMpegtsCableDeliverySystemDescriptor"
glib:get-type="gst_mpegts_dvb_cable_delivery_system_descriptor_get_type"
c:symbol-prefix="dvb_cable_delivery_system_descriptor">
<doc xml:space="preserve">Cable Delivery System Descriptor (EN 300 468 v.1.13.1)</doc>
<field name="frequency" writable="1">
<doc xml:space="preserve">the frequency in Hz (Hertz)</doc>
@ -478,6 +481,18 @@ Consult the relevant specifications for more details.</doc>
<doc xml:space="preserve">inner FEC scheme used</doc>
<type name="DVBCodeRate" c:type="GstMpegtsDVBCodeRate"/>
</field>
<method name="free"
c:identifier="gst_mpegts_dvb_cable_delivery_system_descriptor_free">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="source" transfer-ownership="none">
<type name="CableDeliverySystemDescriptor"
c:type="GstMpegtsCableDeliverySystemDescriptor*"/>
</instance-parameter>
</parameters>
</method>
</record>
<enumeration name="CableOuterFECScheme"
c:type="GstMpegtsCableOuterFECScheme">
@ -1500,7 +1515,9 @@ two bytes are the @tag and @length.</doc>
optional="1"
allow-none="1">
<doc xml:space="preserve">The private data</doc>
<type name="guint8" c:type="const guint8**"/>
<array length="3" zero-terminated="0" c:type="const guint8**">
<type name="guint8" c:type="guint8*"/>
</array>
</parameter>
<parameter name="private_data_size"
direction="out"
@ -1673,7 +1690,9 @@ are found in http://www.dvbservices.com</doc>
caller-allocates="0"
transfer-ownership="full">
<doc xml:space="preserve">the selector bytes, if present</doc>
<type name="guint8" c:type="guint8**"/>
<array length="2" zero-terminated="0" c:type="guint8**">
<type name="guint8" c:type="guint8*"/>
</array>
</parameter>
<parameter name="len"
direction="out"
@ -1797,7 +1816,10 @@ a #GstMpegtsDvbMultilingualBouquetNameItem</doc>
#GstMpegtsDescriptor</doc>
<type name="Descriptor" c:type="const GstMpegtsDescriptor*"/>
</instance-parameter>
<parameter name="component_tag" transfer-ownership="none">
<parameter name="component_tag"
direction="out"
caller-allocates="0"
transfer-ownership="full">
<doc xml:space="preserve">the component tag</doc>
<type name="guint8" c:type="guint8*"/>
</parameter>
@ -1935,7 +1957,9 @@ registered by http://www.dvbservices.com/</doc>
optional="1"
allow-none="1">
<doc xml:space="preserve">additional data or NULL</doc>
<type name="guint8" c:type="guint8**"/>
<array length="2" zero-terminated="0" c:type="guint8**">
<type name="guint8" c:type="guint8*"/>
</array>
</parameter>
<parameter name="length"
direction="out"
@ -2433,7 +2457,9 @@ ISO 639-1 language code from the returned ISO 639-2 one.</doc>
</parameter>
<parameter name="data" transfer-ownership="none">
<doc xml:space="preserve">descriptor data (after tag and length field)</doc>
<type name="guint8" c:type="const guint8*"/>
<array length="2" zero-terminated="0" c:type="const guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
<parameter name="length" transfer-ownership="none">
<doc xml:space="preserve">length of @data</doc>
@ -2459,7 +2485,9 @@ ISO 639-1 language code from the returned ISO 639-2 one.</doc>
</parameter>
<parameter name="data" transfer-ownership="none">
<doc xml:space="preserve">descriptor data (after tag and length field)</doc>
<type name="guint8" c:type="const guint8*"/>
<array length="3" zero-terminated="0" c:type="const guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
<parameter name="length" transfer-ownership="none">
<doc xml:space="preserve">length of @data</doc>
@ -2569,7 +2597,9 @@ a single language</doc>
nullable="1"
allow-none="1">
<doc xml:space="preserve">pointer to optional additional info</doc>
<type name="guint8" c:type="guint8*"/>
<array length="2" zero-terminated="0" c:type="guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
<parameter name="additional_info_length" transfer-ownership="none">
<doc xml:space="preserve">length of the optional @additional_info</doc>
@ -3687,7 +3717,9 @@ else %NULL</doc>
<parameter name="data" transfer-ownership="full">
<doc xml:space="preserve">a pointer to the beginning of the section (i.e. the first byte
should contain the table_id field).</doc>
<type name="guint8" c:type="guint8*"/>
<array length="2" zero-terminated="0" c:type="guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
<parameter name="data_size" transfer-ownership="none">
<doc xml:space="preserve">size of the @data argument.</doc>
@ -4929,7 +4961,9 @@ profiles defined in Annex A for service-compatible stereoscopic 3D services</doc
</parameter>
<parameter name="data" transfer-ownership="none">
<doc xml:space="preserve">descriptor data (after tag and length field)</doc>
<type name="guint8" c:type="const guint8*"/>
<array length="2" zero-terminated="0" c:type="const guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
<parameter name="length" transfer-ownership="none">
<doc xml:space="preserve">length of @data</doc>
@ -4956,7 +4990,9 @@ profiles defined in Annex A for service-compatible stereoscopic 3D services</doc
</parameter>
<parameter name="data" transfer-ownership="none">
<doc xml:space="preserve">descriptor data (after tag and length field)</doc>
<type name="guint8" c:type="const guint8*"/>
<array length="3" zero-terminated="0" c:type="const guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
<parameter name="length" transfer-ownership="none">
<doc xml:space="preserve">length of @data</doc>
@ -5071,7 +5107,9 @@ a single language</doc>
nullable="1"
allow-none="1">
<doc xml:space="preserve">pointer to optional additional info</doc>
<type name="guint8" c:type="guint8*"/>
<array length="2" zero-terminated="0" c:type="guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
<parameter name="additional_info_length" transfer-ownership="none">
<doc xml:space="preserve">length of the optional @additional_info</doc>

59
gir-files/fix.sh Executable file
View file

@ -0,0 +1,59 @@
#!/bin/bash
set -x -e
# Remove GLFuncs record
# commit 5765641
xmlstarlet ed --pf --inplace --delete '//_:record[@name="GLFuncs"]' GstGL-1.0.gir
# Add a disguised GFuncs record (two steps)
xmlstarlet ed --pf --inplace \
--subnode '//_:namespace' --type elem -n 'recordTMP' --value ' ' \
GstGL-1.0.gir
xmlstarlet ed --pf --inplace \
--insert '//_:recordTMP' -t attr -n 'name' --value 'GLFuncs' \
--insert '//_:recordTMP' -t attr -n 'c:type' --value 'GstGLFuncs' \
--insert '//_:recordTMP' -t attr -n 'disguised' --value '1' \
--rename '//_:recordTMP' --value 'record' \
GstGL-1.0.gir
# incorrect GIR due bug #797144
xmlstarlet ed --pf --inplace \
--update '//*[@c:identifier="Dubois optimised Green-Magenta anaglyph"]/@c:identifier' \
--value GST_GL_STEREO_DOWNMIX_ANAGLYPH_GREEN_MAGENTA_DUBOIS \
--update '//*[@c:identifier="Dubois optimised Red-Cyan anaglyph"]/@c:identifier' \
--value GST_GL_STEREO_DOWNMIX_ANAGLYPH_RED_CYAN_DUBOIS \
--update '//*[@c:identifier="Dubois optimised Amber-Blue anaglyph"]/@c:identifier' \
--value GST_GL_STEREO_DOWNMIX_ANAGLYPH_AMBER_BLUE_DUBOIS \
GstGL-1.0.gir
# Remove GstDisplayWayland
xmlstarlet ed --pf --inplace \
--delete '//_:class[@name="GLDisplayWayland"]' \
--delete '//_:record[@name="GLDisplayWaylandClass"]' \
GstGL-1.0.gir
# Remove GstDisplayX11
xmlstarlet ed --pf --inplace \
--delete '//_:class[@name="GLDisplayX11"]' \
--delete '//_:record[@name="GLDisplayX11Class"]' \
GstGL-1.0.gir
# Remove GstMemoryEGL
xmlstarlet ed --pf --inplace \
--delete '//_:record[@name="GLMemoryEGL"]' \
--delete '//_:record[@name="GLMemoryEGLAllocator"]' \
--delete '//_:record[@name="GLMemoryEGLAllocatorClass"]' \
GstGL-1.0.gir
xmlstarlet ed --pf --inplace \
--delete '//_:method[@c:identifier="gst_gl_display_egl_from_gl_display"]' \
GstGL-1.0.gir
# Remove all libcheck related API
xmlstarlet ed --pf --inplace \
--delete '//_:function[starts-with(@name, "check_")]' \
--delete '//_:function[starts-with(@name, "buffer_straw_")]' \
--delete '//_:callback[starts-with(@name, "Check")]' \
--delete '//_:record[starts-with(@name, "Check")]' \
GstCheck-1.0.gir