<?xml version="1.0"?>
<!-- This file was automatically generated from C sources - DO NOT EDIT!
To affect the contents of this file, edit the original C definitions,
and/or use gtk-doc annotations.  -->
<repository version="1.2"
            xmlns="http://www.gtk.org/introspection/core/1.0"
            xmlns:c="http://www.gtk.org/introspection/c/1.0"
            xmlns:doc="http://www.gtk.org/introspection/doc/1.0"
            xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
  <include name="Gst" version="1.0"/>
  <package name="gstreamer-insertbin-1.0"/>
  <c:include name="gst/insertbin/gstinsertbin.h"/>
  <doc:format name="unknown"/>
  <namespace name="GstInsertBin"
             version="1.0"
             shared-library="libgstinsertbin-1.0.so.0"
             c:identifier-prefixes="Gst"
             c:symbol-prefixes="gst">
    <function-macro name="INSERT_BIN"
                    c:identifier="GST_INSERT_BIN"
                    introspectable="0">
      <source-position filename="gst-libs/gst/insertbin/gstinsertbin.h"
                       line="46"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="INSERT_BIN_CLASS"
                    c:identifier="GST_INSERT_BIN_CLASS"
                    introspectable="0">
      <source-position filename="gst-libs/gst/insertbin/gstinsertbin.h"
                       line="48"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="INSERT_BIN_GET_CLASS"
                    c:identifier="GST_INSERT_BIN_GET_CLASS"
                    introspectable="0">
      <source-position filename="gst-libs/gst/insertbin/gstinsertbin.h"
                       line="50"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_INSERT_BIN"
                    c:identifier="GST_IS_INSERT_BIN"
                    introspectable="0">
      <source-position filename="gst-libs/gst/insertbin/gstinsertbin.h"
                       line="47"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_INSERT_BIN_CLASS"
                    c:identifier="GST_IS_INSERT_BIN_CLASS"
                    introspectable="0">
      <source-position filename="gst-libs/gst/insertbin/gstinsertbin.h"
                       line="49"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <class name="InsertBin"
           c:symbol-prefix="insert_bin"
           c:type="GstInsertBin"
           version="1.2"
           parent="Gst.Bin"
           glib:type-name="GstInsertBin"
           glib:get-type="gst_insert_bin_get_type"
           glib:type-struct="InsertBinClass">
      <doc xml:space="preserve"
           filename="gst-libs/gst/insertbin/gstinsertbin.c"
           line="24">This element is a #GstBin that has a single source and sink pad. It allows
the user (the application) to easily add and remove filter-like element
(that has a single source and sink pad), to the pipeline while it is running.
It features a fully asynchronous API inspired by GLib's GAsyncResult based
APIs.

Each operation (addition or removal) can take a callback, this callback
is guaranteed to be called. Unlike GIO, there is no guarantee about where
this callback will be called from, it could be called before the action
returns or it could be called later from another thread. The signature of
this callback GstInsertBinCallback().

Apart from the library API, since 1.24 insertbin can also be found in the
registry:

``` C
  GstElement *pipeline, *insertbin, *videoflip;

  gst_init (NULL, NULL);
  pipeline =
      gst_parse_launch ("videotestsrc ! insertbin name=i ! autovideosink",
      NULL);

  ...

  insertbin = gst_bin_get_by_name (GST_BIN (pipeline), "i");
  videoflip = gst_element_factory_make ("videoflip", NULL);

  ...

  g_object_set (videoflip, "method", 1, NULL);
  g_signal_emit_by_name (insertbin, "append", videoflip, NULL, NULL);

  ...
```</doc>
      <source-position filename="gst-libs/gst/insertbin/gstinsertbin.h"
                       line="99"/>
      <implements name="Gst.ChildProxy"/>
      <constructor name="new" c:identifier="gst_insert_bin_new" version="1.2">
        <doc xml:space="preserve"
             filename="gst-libs/gst/insertbin/gstinsertbin.c"
             line="1058">Creates a new #GstInsertBin</doc>
        <source-position filename="gst-libs/gst/insertbin/gstinsertbin.h"
                         line="105"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/insertbin/gstinsertbin.c"
               line="1064">The new #GstInsertBin</doc>
          <type name="Gst.Element" c:type="GstElement*"/>
        </return-value>
        <parameters>
          <parameter name="name"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/insertbin/gstinsertbin.c"
                 line="1060">The name of the new #GstInsertBin element (or %NULL)</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </constructor>
      <method name="append" c:identifier="gst_insert_bin_append" version="1.2">
        <doc xml:space="preserve"
             filename="gst-libs/gst/insertbin/gstinsertbin.c"
             line="910">This action signal adds the filter like element after any other element
in the bin.

Same as the #GstInsertBin::append signal.</doc>
        <source-position filename="gst-libs/gst/insertbin/gstinsertbin.h"
                         line="112"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <type name="InsertBin" c:type="GstInsertBin*"/>
          </instance-parameter>
          <parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/insertbin/gstinsertbin.c"
                 line="912">the #GstElement to add</doc>
            <type name="Gst.Element" c:type="GstElement*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     scope="async"
                     closure="2">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/insertbin/gstinsertbin.c"
                 line="913">the callback to call when the element has been
 added or not, or %NULL</doc>
            <type name="InsertBinCallback" c:type="GstInsertBinCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/insertbin/gstinsertbin.c"
                 line="915">The data to pass to the callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="insert_after"
              c:identifier="gst_insert_bin_insert_after"
              version="1.2">
        <doc xml:space="preserve"
             filename="gst-libs/gst/insertbin/gstinsertbin.c"
             line="961">This action signal adds the filter like element after the @sibling
element in the bin.

Same as the #GstInsertBin::insert-after signal.</doc>
        <source-position filename="gst-libs/gst/insertbin/gstinsertbin.h"
                         line="121"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <type name="InsertBin" c:type="GstInsertBin*"/>
          </instance-parameter>
          <parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/insertbin/gstinsertbin.c"
                 line="963">the #GstElement to add</doc>
            <type name="Gst.Element" c:type="GstElement*"/>
          </parameter>
          <parameter name="sibling" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/insertbin/gstinsertbin.c"
                 line="964">the #GstElement to add @element after</doc>
            <type name="Gst.Element" c:type="GstElement*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     scope="async"
                     closure="3">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/insertbin/gstinsertbin.c"
                 line="965">the callback to call when the element has been
 added or not, or %NULL</doc>
            <type name="InsertBinCallback" c:type="GstInsertBinCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/insertbin/gstinsertbin.c"
                 line="967">The data to pass to the callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="insert_before"
              c:identifier="gst_insert_bin_insert_before"
              version="1.2">
        <doc xml:space="preserve"
             filename="gst-libs/gst/insertbin/gstinsertbin.c"
             line="935">This action signal adds the filter like element before the @sibling
element in the bin.

Same as the #GstInsertBin::insert-before signal.</doc>
        <source-position filename="gst-libs/gst/insertbin/gstinsertbin.h"
                         line="116"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <type name="InsertBin" c:type="GstInsertBin*"/>
          </instance-parameter>
          <parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/insertbin/gstinsertbin.c"
                 line="937">the #GstElement to add</doc>
            <type name="Gst.Element" c:type="GstElement*"/>
          </parameter>
          <parameter name="sibling" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/insertbin/gstinsertbin.c"
                 line="938">the #GstElement to add @element before</doc>
            <type name="Gst.Element" c:type="GstElement*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     scope="async"
                     closure="3">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/insertbin/gstinsertbin.c"
                 line="939">the callback to call when the element has been
 added or not, or %NULL</doc>
            <type name="InsertBinCallback" c:type="GstInsertBinCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/insertbin/gstinsertbin.c"
                 line="941">The data to pass to the callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="prepend"
              c:identifier="gst_insert_bin_prepend"
              version="1.2">
        <doc xml:space="preserve"
             filename="gst-libs/gst/insertbin/gstinsertbin.c"
             line="885">This action signal adds the filter like element before any other element
in the bin.

Same as the #GstInsertBin::prepend signal.</doc>
        <source-position filename="gst-libs/gst/insertbin/gstinsertbin.h"
                         line="108"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <type name="InsertBin" c:type="GstInsertBin*"/>
          </instance-parameter>
          <parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/insertbin/gstinsertbin.c"
                 line="887">the #GstElement to add</doc>
            <type name="Gst.Element" c:type="GstElement*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     scope="async"
                     closure="2">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/insertbin/gstinsertbin.c"
                 line="888">the callback to call when the element has been
 added or not, or %NULL</doc>
            <type name="InsertBinCallback" c:type="GstInsertBinCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/insertbin/gstinsertbin.c"
                 line="890">The data to pass to the callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="remove" c:identifier="gst_insert_bin_remove" version="1.2">
        <doc xml:space="preserve"
             filename="gst-libs/gst/insertbin/gstinsertbin.c"
             line="987">This action signal removed the filter like element from the bin.

Same as the #GstInsertBin::remove signal.</doc>
        <source-position filename="gst-libs/gst/insertbin/gstinsertbin.h"
                         line="126"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <type name="InsertBin" c:type="GstInsertBin*"/>
          </instance-parameter>
          <parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/insertbin/gstinsertbin.c"
                 line="989">the #GstElement to remove</doc>
            <type name="Gst.Element" c:type="GstElement*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     scope="async"
                     closure="2">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/insertbin/gstinsertbin.c"
                 line="990">the callback to call when the element has been
 removed or not, or %NULL</doc>
            <type name="InsertBinCallback" c:type="GstInsertBinCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/insertbin/gstinsertbin.c"
                 line="992">The data to pass to the callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <field name="parent">
        <type name="Gst.Bin" c:type="GstBin"/>
      </field>
      <field name="priv" readable="0" private="1">
        <type name="InsertBinPrivate" c:type="GstInsertBinPrivate*"/>
      </field>
      <glib:signal name="append" when="last" action="1" version="1.2">
        <doc xml:space="preserve"
             filename="gst-libs/gst/insertbin/gstinsertbin.c"
             line="189">This action signal adds the filter like element after any other element
in the bin.

Same as gst_insert_bin_append()</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="callback" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/insertbin/gstinsertbin.c"
                 line="192">the callback to call when the element has been added or not, or
 %NULL</doc>
            <type name="Gst.Element"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/insertbin/gstinsertbin.c"
                 line="194">The data to pass to the callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="user_data2"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/insertbin/gstinsertbin.c"
                 line="195">The user data of the signal (ignored)</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="insert-after" when="last" action="1" version="1.2">
        <doc xml:space="preserve"
             filename="gst-libs/gst/insertbin/gstinsertbin.c"
             line="235">This action signal adds the filter like element after the @sibling
element in the bin.
element in the bin.

Same as gst_insert_bin_insert_after()</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="sibling" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/insertbin/gstinsertbin.c"
                 line="238">the #GstElement to add @element after</doc>
            <type name="Gst.Element"/>
          </parameter>
          <parameter name="callback" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/insertbin/gstinsertbin.c"
                 line="239">the callback to call when the element has been added or not, or
 %NULL</doc>
            <type name="Gst.Element"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/insertbin/gstinsertbin.c"
                 line="241">The data to pass to the callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="user_data2"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/insertbin/gstinsertbin.c"
                 line="242">The user data of the signal (ignored)</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="insert-before" when="last" action="1" version="1.2">
        <doc xml:space="preserve"
             filename="gst-libs/gst/insertbin/gstinsertbin.c"
             line="211">This action signal adds the filter like element before the @sibling
element in the bin.

Same as gst_insert_bin_insert_before()</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="sibling" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/insertbin/gstinsertbin.c"
                 line="214">the #GstElement to add @element before</doc>
            <type name="Gst.Element"/>
          </parameter>
          <parameter name="callback" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/insertbin/gstinsertbin.c"
                 line="215">the callback to call when the element has been added or not, or
 %NULL</doc>
            <type name="Gst.Element"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/insertbin/gstinsertbin.c"
                 line="217">The data to pass to the callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="user_data2"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/insertbin/gstinsertbin.c"
                 line="218">The user data of the signal (ignored)</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="prepend" when="last" action="1" version="1.2">
        <doc xml:space="preserve"
             filename="gst-libs/gst/insertbin/gstinsertbin.c"
             line="167">This action signal adds the filter like element before any other element
in the bin.

Same as gst_insert_bin_prepend()</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="callback" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/insertbin/gstinsertbin.c"
                 line="170">the callback to call when the element has been added or not, or
 %NULL</doc>
            <type name="Gst.Element"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/insertbin/gstinsertbin.c"
                 line="172">The data to pass to the callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="user_data2"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/insertbin/gstinsertbin.c"
                 line="173">The user data of the signal (ignored)</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="remove" when="last" action="1" version="1.2">
        <doc xml:space="preserve"
             filename="gst-libs/gst/insertbin/gstinsertbin.c"
             line="260">This action signal removed the filter like element from the bin.

Same as gst_insert_bin_remove()</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="callback" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/insertbin/gstinsertbin.c"
                 line="263">the callback to call when the element has been removed or not,
or %NULL</doc>
            <type name="Gst.Element"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/insertbin/gstinsertbin.c"
                 line="265">The data to pass to the callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="user_data2"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gst-libs/gst/insertbin/gstinsertbin.c"
                 line="266">The user data of the signal (ignored)</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </glib:signal>
    </class>
    <callback name="InsertBinCallback"
              c:type="GstInsertBinCallback"
              version="1.2">
      <doc xml:space="preserve"
           filename="gst-libs/gst/insertbin/gstinsertbin.h"
           line="55">This is the prototype of callbacks to be called when the operation completes.
It could be called at any time, including as a re-entrant call while the
operation is requested.</doc>
      <source-position filename="gst-libs/gst/insertbin/gstinsertbin.h"
                       line="69"/>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="insertbin" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/insertbin/gstinsertbin.h"
               line="57">A #GstInsertBin</doc>
          <type name="InsertBin" c:type="GstInsertBin*"/>
        </parameter>
        <parameter name="element" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/insertbin/gstinsertbin.h"
               line="58">The #GstElement on which the operation was performed</doc>
          <type name="Gst.Element" c:type="GstElement*"/>
        </parameter>
        <parameter name="success" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gst-libs/gst/insertbin/gstinsertbin.h"
               line="59">%TRUE if the operation was successful</doc>
          <type name="gboolean" c:type="gboolean"/>
        </parameter>
        <parameter name="user_data"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1"
                   closure="3">
          <doc xml:space="preserve"
               filename="gst-libs/gst/insertbin/gstinsertbin.h"
               line="60">The user data passed</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </callback>
    <record name="InsertBinClass"
            c:type="GstInsertBinClass"
            glib:is-gtype-struct-for="InsertBin"
            version="1.2">
      <doc xml:space="preserve"
           filename="gst-libs/gst/insertbin/gstinsertbin.h"
           line="89">The object class structure.</doc>
      <source-position filename="gst-libs/gst/insertbin/gstinsertbin.h"
                       line="99"/>
      <field name="parent_class">
        <type name="Gst.BinClass" c:type="GstBinClass"/>
      </field>
    </record>
    <record name="InsertBinPrivate"
            c:type="GstInsertBinPrivate"
            disguised="1"
            opaque="1">
      <source-position filename="gst-libs/gst/insertbin/gstinsertbin.h"
                       line="53"/>
    </record>
  </namespace>
</repository>
