Update Gst-1.0.gir with floating reference fixups from GIT master

And regenerate everything.
This commit is contained in:
Sebastian Dröge 2017-05-17 15:59:16 +03:00
parent 15b08a4293
commit d92f865f36
15 changed files with 32 additions and 32 deletions

View file

@ -786,7 +786,7 @@ the bin does not want to accept the element.</doc>
<doc xml:space="preserve">a #GstBin</doc> <doc xml:space="preserve">a #GstBin</doc>
<type name="Bin" c:type="GstBin*"/> <type name="Bin" c:type="GstBin*"/>
</instance-parameter> </instance-parameter>
<parameter name="element" transfer-ownership="full"> <parameter name="element" transfer-ownership="none">
<doc xml:space="preserve">the #GstElement to add</doc> <doc xml:space="preserve">the #GstElement to add</doc>
<type name="Element" c:type="GstElement*"/> <type name="Element" c:type="GstElement*"/>
</parameter> </parameter>
@ -806,11 +806,11 @@ value of each gst_bin_add() is ignored.</doc>
<doc xml:space="preserve">a #GstBin</doc> <doc xml:space="preserve">a #GstBin</doc>
<type name="Bin" c:type="GstBin*"/> <type name="Bin" c:type="GstBin*"/>
</instance-parameter> </instance-parameter>
<parameter name="element_1" transfer-ownership="full"> <parameter name="element_1" transfer-ownership="none">
<doc xml:space="preserve">the #GstElement element to add to the bin</doc> <doc xml:space="preserve">the #GstElement element to add to the bin</doc>
<type name="Element" c:type="GstElement*"/> <type name="Element" c:type="GstElement*"/>
</parameter> </parameter>
<parameter name="..." transfer-ownership="full"> <parameter name="..." transfer-ownership="none">
<doc xml:space="preserve">additional elements to add to the bin</doc> <doc xml:space="preserve">additional elements to add to the bin</doc>
<varargs/> <varargs/>
</parameter> </parameter>
@ -3380,7 +3380,7 @@ Use gst_object_unref() to release the reference to a bufferpool. If the
refcount of the pool reaches 0, the pool will be freed.</doc> refcount of the pool reaches 0, the pool will be freed.</doc>
<constructor name="new" c:identifier="gst_buffer_pool_new"> <constructor name="new" c:identifier="gst_buffer_pool_new">
<doc xml:space="preserve">Creates a new #GstBufferPool instance.</doc> <doc xml:space="preserve">Creates a new #GstBufferPool instance.</doc>
<return-value transfer-ownership="none"> <return-value transfer-ownership="full">
<doc xml:space="preserve">a new #GstBufferPool instance</doc> <doc xml:space="preserve">a new #GstBufferPool instance</doc>
<type name="BufferPool" c:type="GstBufferPool*"/> <type name="BufferPool" c:type="GstBufferPool*"/>
</return-value> </return-value>
@ -11271,7 +11271,7 @@ This is for use by subclasses.</doc>
<doc xml:space="preserve">a #GstDeviceProvider</doc> <doc xml:space="preserve">a #GstDeviceProvider</doc>
<type name="DeviceProvider" c:type="GstDeviceProvider*"/> <type name="DeviceProvider" c:type="GstDeviceProvider*"/>
</instance-parameter> </instance-parameter>
<parameter name="device" transfer-ownership="full"> <parameter name="device" transfer-ownership="none">
<doc xml:space="preserve">a #GstDevice that has been added</doc> <doc xml:space="preserve">a #GstDevice that has been added</doc>
<type name="Device" c:type="GstDevice*"/> <type name="Device" c:type="GstDevice*"/>
</parameter> </parameter>
@ -12796,7 +12796,7 @@ MT safe.</doc>
<doc xml:space="preserve">a #GstElement to add the pad to.</doc> <doc xml:space="preserve">a #GstElement to add the pad to.</doc>
<type name="Element" c:type="GstElement*"/> <type name="Element" c:type="GstElement*"/>
</instance-parameter> </instance-parameter>
<parameter name="pad" transfer-ownership="full"> <parameter name="pad" transfer-ownership="none">
<doc xml:space="preserve">the #GstPad to add to the element.</doc> <doc xml:space="preserve">the #GstPad to add to the element.</doc>
<type name="Pad" c:type="GstPad*"/> <type name="Pad" c:type="GstPad*"/>
</parameter> </parameter>
@ -14919,7 +14919,7 @@ existing one is added the old one is replaced by the new one.</doc>
<doc xml:space="preserve">the #GstElementClass to add the pad template to.</doc> <doc xml:space="preserve">the #GstElementClass to add the pad template to.</doc>
<type name="ElementClass" c:type="GstElementClass*"/> <type name="ElementClass" c:type="GstElementClass*"/>
</instance-parameter> </instance-parameter>
<parameter name="templ" transfer-ownership="full"> <parameter name="templ" transfer-ownership="none">
<doc xml:space="preserve">a #GstPadTemplate to add to the element class.</doc> <doc xml:space="preserve">a #GstPadTemplate to add to the element class.</doc>
<type name="PadTemplate" c:type="GstPadTemplate*"/> <type name="PadTemplate" c:type="GstPadTemplate*"/>
</parameter> </parameter>
@ -17800,7 +17800,7 @@ case of an error.</doc>
from the target pad. The template used on the ghostpad will be @template. from the target pad. The template used on the ghostpad will be @template.
Will ref the target.</doc> Will ref the target.</doc>
<return-value transfer-ownership="full" nullable="1"> <return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve">a new #GstPad, or %NULL in <doc xml:space="preserve">a new #GstPad, or %NULL in
case of an error.</doc> case of an error.</doc>
<type name="Pad" c:type="GstPad*"/> <type name="Pad" c:type="GstPad*"/>
@ -17830,7 +17830,7 @@ A target can be set on the ghostpad later with the
gst_ghost_pad_set_target() function. gst_ghost_pad_set_target() function.
The created ghostpad will not have a padtemplate.</doc> The created ghostpad will not have a padtemplate.</doc>
<return-value transfer-ownership="full" nullable="1"> <return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve">a new #GstPad, or %NULL in <doc xml:space="preserve">a new #GstPad, or %NULL in
case of an error.</doc> case of an error.</doc>
<type name="Pad" c:type="GstPad*"/> <type name="Pad" c:type="GstPad*"/>
@ -17853,7 +17853,7 @@ case of an error.</doc>
c:identifier="gst_ghost_pad_new_no_target_from_template"> c:identifier="gst_ghost_pad_new_no_target_from_template">
<doc xml:space="preserve">Create a new ghostpad based on @templ, without setting a target. The <doc xml:space="preserve">Create a new ghostpad based on @templ, without setting a target. The
direction will be taken from the @templ.</doc> direction will be taken from the @templ.</doc>
<return-value transfer-ownership="full" nullable="1"> <return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve">a new #GstPad, or %NULL in <doc xml:space="preserve">a new #GstPad, or %NULL in
case of an error.</doc> case of an error.</doc>
<type name="Pad" c:type="GstPad*"/> <type name="Pad" c:type="GstPad*"/>
@ -23742,7 +23742,7 @@ has been setup for a non suitable property, %TRUE otherwise.</doc>
<doc xml:space="preserve">the controller object</doc> <doc xml:space="preserve">the controller object</doc>
<type name="Object" c:type="GstObject*"/> <type name="Object" c:type="GstObject*"/>
</instance-parameter> </instance-parameter>
<parameter name="binding" transfer-ownership="full"> <parameter name="binding" transfer-ownership="none">
<doc xml:space="preserve">the #GstControlBinding that should be used</doc> <doc xml:space="preserve">the #GstControlBinding that should be used</doc>
<type name="ControlBinding" c:type="GstControlBinding*"/> <type name="ControlBinding" c:type="GstControlBinding*"/>
</parameter> </parameter>
@ -33498,7 +33498,7 @@ MT safe.</doc>
<doc xml:space="preserve">the registry to add the plugin to</doc> <doc xml:space="preserve">the registry to add the plugin to</doc>
<type name="Registry" c:type="GstRegistry*"/> <type name="Registry" c:type="GstRegistry*"/>
</instance-parameter> </instance-parameter>
<parameter name="feature" transfer-ownership="full"> <parameter name="feature" transfer-ownership="none">
<doc xml:space="preserve">the feature to add</doc> <doc xml:space="preserve">the feature to add</doc>
<type name="PluginFeature" c:type="GstPluginFeature*"/> <type name="PluginFeature" c:type="GstPluginFeature*"/>
</parameter> </parameter>
@ -33518,7 +33518,7 @@ MT safe.</doc>
<doc xml:space="preserve">the registry to add the plugin to</doc> <doc xml:space="preserve">the registry to add the plugin to</doc>
<type name="Registry" c:type="GstRegistry*"/> <type name="Registry" c:type="GstRegistry*"/>
</instance-parameter> </instance-parameter>
<parameter name="plugin" transfer-ownership="full"> <parameter name="plugin" transfer-ownership="none">
<doc xml:space="preserve">the plugin to add</doc> <doc xml:space="preserve">the plugin to add</doc>
<type name="Plugin" c:type="GstPlugin*"/> <type name="Plugin" c:type="GstPlugin*"/>
</parameter> </parameter>
@ -35361,7 +35361,7 @@ instantiate a #GstCaps.</doc>
</field> </field>
<method name="get" c:identifier="gst_static_pad_template_get"> <method name="get" c:identifier="gst_static_pad_template_get">
<doc xml:space="preserve">Converts a #GstStaticPadTemplate into a #GstPadTemplate.</doc> <doc xml:space="preserve">Converts a #GstStaticPadTemplate into a #GstPadTemplate.</doc>
<return-value transfer-ownership="full"> <return-value transfer-ownership="none">
<doc xml:space="preserve">a new #GstPadTemplate.</doc> <doc xml:space="preserve">a new #GstPadTemplate.</doc>
<type name="PadTemplate" c:type="GstPadTemplate*"/> <type name="PadTemplate" c:type="GstPadTemplate*"/>
</return-value> </return-value>
@ -35411,7 +35411,7 @@ pertinent to streams of data).</doc>
<constructor name="new" c:identifier="gst_stream_new" version="1.10"> <constructor name="new" c:identifier="gst_stream_new" version="1.10">
<doc xml:space="preserve">Create a new #GstStream for the given @stream_id, @caps, @type <doc xml:space="preserve">Create a new #GstStream for the given @stream_id, @caps, @type
and @flags</doc> and @flags</doc>
<return-value transfer-ownership="none"> <return-value transfer-ownership="full">
<doc xml:space="preserve">The new #GstStream</doc> <doc xml:space="preserve">The new #GstStream</doc>
<type name="Stream" c:type="GstStream*"/> <type name="Stream" c:type="GstStream*"/>
</return-value> </return-value>
@ -35682,7 +35682,7 @@ Applications can activate streams from a collection by using the
c:identifier="gst_stream_collection_new" c:identifier="gst_stream_collection_new"
version="1.10"> version="1.10">
<doc xml:space="preserve">Create a new #GstStreamCollection.</doc> <doc xml:space="preserve">Create a new #GstStreamCollection.</doc>
<return-value transfer-ownership="none"> <return-value transfer-ownership="full">
<doc xml:space="preserve">The new #GstStreamCollection.</doc> <doc xml:space="preserve">The new #GstStreamCollection.</doc>
<type name="StreamCollection" c:type="GstStreamCollection*"/> <type name="StreamCollection" c:type="GstStreamCollection*"/>
</return-value> </return-value>

View file

@ -1,4 +1,4 @@
// This file was generated by gir (57b38ba) from gir-files (???) // This file was generated by gir (81e3f51) from gir-files (???)
// DO NOT EDIT // DO NOT EDIT
pub type ClockTime = u64; pub type ClockTime = u64;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (57b38ba) from gir-files (???) // This file was generated by gir (81e3f51) from gir-files (???)
// DO NOT EDIT // DO NOT EDIT
use Element; use Element;
@ -99,7 +99,7 @@ pub trait BinExt {
impl<O: IsA<Bin> + IsA<glib::object::Object>> BinExt for O { impl<O: IsA<Bin> + IsA<glib::object::Object>> BinExt for O {
fn add<P: IsA<Element>>(&self, element: &P) -> bool { fn add<P: IsA<Element>>(&self, element: &P) -> bool {
unsafe { unsafe {
from_glib(ffi::gst_bin_add(self.to_glib_none().0, element.to_glib_full())) from_glib(ffi::gst_bin_add(self.to_glib_none().0, element.to_glib_none().0))
} }
} }

View file

@ -1,4 +1,4 @@
// This file was generated by gir (57b38ba) from gir-files (???) // This file was generated by gir (81e3f51) from gir-files (???)
// DO NOT EDIT // DO NOT EDIT
use Object; use Object;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (57b38ba) from gir-files (???) // This file was generated by gir (81e3f51) from gir-files (???)
// DO NOT EDIT // DO NOT EDIT
use ClockTime; use ClockTime;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (57b38ba) from gir-files (???) // This file was generated by gir (81e3f51) from gir-files (???)
// DO NOT EDIT // DO NOT EDIT
use Bus; use Bus;
@ -209,7 +209,7 @@ impl<O: IsA<Element> + IsA<glib::object::Object>> ElementExt for O {
fn add_pad<P: IsA<Pad>>(&self, pad: &P) -> bool { fn add_pad<P: IsA<Pad>>(&self, pad: &P) -> bool {
unsafe { unsafe {
from_glib(ffi::gst_element_add_pad(self.to_glib_none().0, pad.to_glib_full())) from_glib(ffi::gst_element_add_pad(self.to_glib_none().0, pad.to_glib_none().0))
} }
} }

View file

@ -1,4 +1,4 @@
// This file was generated by gir (57b38ba) from gir-files (???) // This file was generated by gir (81e3f51) from gir-files (???)
// DO NOT EDIT // DO NOT EDIT
use Element; use Element;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (57b38ba) from gir-files (???) // This file was generated by gir (81e3f51) from gir-files (???)
// DO NOT EDIT // DO NOT EDIT
use ffi; use ffi;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (57b38ba) from gir-files (???) // This file was generated by gir (81e3f51) from gir-files (???)
// DO NOT EDIT // DO NOT EDIT
use ffi; use ffi;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (57b38ba) from gir-files (???) // This file was generated by gir (81e3f51) from gir-files (???)
// DO NOT EDIT // DO NOT EDIT
mod bin; mod bin;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (57b38ba) from gir-files (???) // This file was generated by gir (81e3f51) from gir-files (???)
// DO NOT EDIT // DO NOT EDIT
use ClockTime; use ClockTime;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (57b38ba) from gir-files (???) // This file was generated by gir (81e3f51) from gir-files (???)
// DO NOT EDIT // DO NOT EDIT
use Element; use Element;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (57b38ba) from gir-files (???) // This file was generated by gir (81e3f51) from gir-files (???)
// DO NOT EDIT // DO NOT EDIT
use Object; use Object;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (57b38ba) from gir-files (???) // This file was generated by gir (81e3f51) from gir-files (???)
// DO NOT EDIT // DO NOT EDIT
use Bin; use Bin;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (57b38ba) from gir-files (???) // This file was generated by gir (81e3f51) from gir-files (???)
// DO NOT EDIT // DO NOT EDIT
use Error; use Error;