insertbin/doc: add "Since" markers to pass CI

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5514>
This commit is contained in:
Alexander Slobodeniuk 2023-11-16 20:09:21 +01:00
parent 709913b1d2
commit 2922c6182d
4 changed files with 30 additions and 8 deletions

View file

@ -246,7 +246,7 @@ Same as the #GstInsertBin::remove signal.</doc>
<field name="priv" readable="0" private="1"> <field name="priv" readable="0" private="1">
<type name="InsertBinPrivate" c:type="GstInsertBinPrivate*"/> <type name="InsertBinPrivate" c:type="GstInsertBinPrivate*"/>
</field> </field>
<glib:signal name="append" when="last" action="1"> <glib:signal name="append" when="last" action="1" version="1.2">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.c">This action signal adds the filter like element after any other element <doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.c">This action signal adds the filter like element after any other element
in the bin. in the bin.
@ -270,7 +270,7 @@ Same as gst_insert_bin_append()</doc>
</parameter> </parameter>
</parameters> </parameters>
</glib:signal> </glib:signal>
<glib:signal name="insert-after" when="last" action="1"> <glib:signal name="insert-after" when="last" action="1" version="1.2">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.c">This action signal adds the filter like element after the @sibling <doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.c">This action signal adds the filter like element after the @sibling
element in the bin. element in the bin.
element in the bin. element in the bin.
@ -299,7 +299,7 @@ Same as gst_insert_bin_insert_after()</doc>
</parameter> </parameter>
</parameters> </parameters>
</glib:signal> </glib:signal>
<glib:signal name="insert-before" when="last" action="1"> <glib:signal name="insert-before" when="last" action="1" version="1.2">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.c">This action signal adds the filter like element before the @sibling <doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.c">This action signal adds the filter like element before the @sibling
element in the bin. element in the bin.
@ -327,7 +327,7 @@ Same as gst_insert_bin_insert_before()</doc>
</parameter> </parameter>
</parameters> </parameters>
</glib:signal> </glib:signal>
<glib:signal name="prepend" when="last" action="1"> <glib:signal name="prepend" when="last" action="1" version="1.2">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.c">This action signal adds the filter like element before any other element <doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.c">This action signal adds the filter like element before any other element
in the bin. in the bin.
@ -351,7 +351,7 @@ Same as gst_insert_bin_prepend()</doc>
</parameter> </parameter>
</parameters> </parameters>
</glib:signal> </glib:signal>
<glib:signal name="remove" when="last" action="1"> <glib:signal name="remove" when="last" action="1" version="1.2">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.c">This action signal removed the filter like element from the bin. <doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.c">This action signal removed the filter like element from the bin.
Same as gst_insert_bin_remove()</doc> Same as gst_insert_bin_remove()</doc>
@ -375,7 +375,7 @@ or %NULL</doc>
</parameters> </parameters>
</glib:signal> </glib:signal>
</class> </class>
<callback name="InsertBinCallback" c:type="GstInsertBinCallback"> <callback name="InsertBinCallback" c:type="GstInsertBinCallback" version="1.2">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.h">This is the prototype of callbacks to be called when the operation completes. <doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.h">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 It could be called at any time, including as a re-entrant call while the
operation is requested.</doc> operation is requested.</doc>
@ -402,7 +402,7 @@ operation is requested.</doc>
</parameter> </parameter>
</parameters> </parameters>
</callback> </callback>
<record name="InsertBinClass" c:type="GstInsertBinClass" glib:is-gtype-struct-for="InsertBin"> <record name="InsertBinClass" c:type="GstInsertBinClass" glib:is-gtype-struct-for="InsertBin" version="1.2">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.h">The object class structure.</doc> <doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.h">The object class structure.</doc>
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.h"/> <source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.h"/>
<field name="parent_class"> <field name="parent_class">

View file

@ -176,6 +176,8 @@ gst_insert_bin_class_init (GstInsertBinClass * klass)
* in the bin. * in the bin.
* *
* Same as gst_insert_bin_prepend() * Same as gst_insert_bin_prepend()
*
* Since: 1.2
*/ */
signals[SIG_PREPEND] = g_signal_new_class_handler ("prepend", signals[SIG_PREPEND] = g_signal_new_class_handler ("prepend",
G_TYPE_FROM_CLASS (klass), G_TYPE_FROM_CLASS (klass),
@ -196,6 +198,8 @@ gst_insert_bin_class_init (GstInsertBinClass * klass)
* in the bin. * in the bin.
* *
* Same as gst_insert_bin_append() * Same as gst_insert_bin_append()
*
* Since: 1.2
*/ */
signals[SIG_APPEND] = g_signal_new_class_handler ("append", signals[SIG_APPEND] = g_signal_new_class_handler ("append",
G_TYPE_FROM_CLASS (klass), G_TYPE_FROM_CLASS (klass),
@ -217,6 +221,8 @@ gst_insert_bin_class_init (GstInsertBinClass * klass)
* element in the bin. * element in the bin.
* *
* Same as gst_insert_bin_insert_before() * Same as gst_insert_bin_insert_before()
*
* Since: 1.2
*/ */
signals[SIG_INSERT_BEFORE] = g_signal_new_class_handler ("insert-before", signals[SIG_INSERT_BEFORE] = g_signal_new_class_handler ("insert-before",
G_TYPE_FROM_CLASS (klass), G_TYPE_FROM_CLASS (klass),
@ -240,6 +246,8 @@ gst_insert_bin_class_init (GstInsertBinClass * klass)
* element in the bin. * element in the bin.
* *
* Same as gst_insert_bin_insert_after() * Same as gst_insert_bin_insert_after()
*
* Since: 1.2
*/ */
signals[SIG_INSERT_AFTER] = g_signal_new_class_handler ("insert-after", signals[SIG_INSERT_AFTER] = g_signal_new_class_handler ("insert-after",
G_TYPE_FROM_CLASS (klass), G_TYPE_FROM_CLASS (klass),
@ -249,7 +257,6 @@ gst_insert_bin_class_init (GstInsertBinClass * klass)
G_TYPE_NONE, 4, GST_TYPE_ELEMENT, GST_TYPE_ELEMENT, G_TYPE_NONE, 4, GST_TYPE_ELEMENT, GST_TYPE_ELEMENT,
G_TYPE_POINTER, G_TYPE_POINTER); G_TYPE_POINTER, G_TYPE_POINTER);
/** /**
* GstInsertBin::remove: * GstInsertBin::remove:
* @element: the #GstElement to remove * @element: the #GstElement to remove
@ -261,6 +268,8 @@ gst_insert_bin_class_init (GstInsertBinClass * klass)
* This action signal removed the filter like element from the bin. * This action signal removed the filter like element from the bin.
* *
* Same as gst_insert_bin_remove() * Same as gst_insert_bin_remove()
*
* Since: 1.2
*/ */
signals[SIG_REMOVE] = g_signal_new_class_handler ("remove", signals[SIG_REMOVE] = g_signal_new_class_handler ("remove",
G_TYPE_FROM_CLASS (klass), G_TYPE_FROM_CLASS (klass),

View file

@ -62,6 +62,8 @@ typedef struct _GstInsertBinPrivate GstInsertBinPrivate;
* This is the prototype of callbacks to be called when the operation completes. * 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 * It could be called at any time, including as a re-entrant call while the
* operation is requested. * operation is requested.
*
* Since: 1.2
*/ */
typedef void (*GstInsertBinCallback) (GstInsertBin *insertbin, typedef void (*GstInsertBinCallback) (GstInsertBin *insertbin,
@ -73,6 +75,8 @@ typedef void (*GstInsertBinCallback) (GstInsertBin *insertbin,
* GstInsertBin: * GstInsertBin:
* *
* The object structure. * The object structure.
*
* Since: 1.2
*/ */
struct _GstInsertBin struct _GstInsertBin
{ {
@ -86,6 +90,8 @@ struct _GstInsertBin
* GstInsertBinClass: * GstInsertBinClass:
* *
* The object class structure. * The object class structure.
*
* Since: 1.2
*/ */
struct _GstInsertBinClass struct _GstInsertBinClass
{ {

View file

@ -19,6 +19,13 @@
* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
* Boston, MA 02110-1301, USA. * Boston, MA 02110-1301, USA.
*/ */
/**
* plugin-insertbin:
*
* Since: 1.24
*/
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include <config.h> #include <config.h>
#endif #endif