* urisource-$(PROTOCOL_REQUIRED), e.g. urisource-http or urisource-mms
* </para></listitem>
* <listitem><para>
- * element-$(ELEMENT_REQUIRED), e.g. element-ffmpegcolorspace
+ * element-$(ELEMENT_REQUIRED), e.g. element-videoconvert
* </para></listitem>
* <listitem><para>
* decoder-$(CAPS_REQUIRED), e.g. (do read below for more details!):
return ret;
}
-GType
-gst_install_plugins_context_get_type (void)
-{
- static GType gst_ipc_type = 0;
-
- if (G_UNLIKELY (gst_ipc_type == 0)) {
- gst_ipc_type = g_boxed_type_register_static ("GstInstallPluginsContext",
- (GBoxedCopyFunc) gst_install_plugins_context_copy,
- (GBoxedFreeFunc) gst_install_plugins_context_free);
- }
- return gst_ipc_type;
-}
+G_DEFINE_BOXED_TYPE (GstInstallPluginsContext, gst_install_plugins_context,
+ (GBoxedCopyFunc) gst_install_plugins_context_copy,
+ (GBoxedFreeFunc) gst_install_plugins_context_free);
static const gchar *
gst_install_plugins_get_helper (void)
/**
* gst_install_plugins_async:
- * @details: NULL-terminated array of installer string details (see below)
- * @ctx: a #GstInstallPluginsContext, or NULL
+ * @details: (array zero-terminated=1) (transfer none): NULL-terminated array
+ * of installer string details (see below)
+ * @ctx: (allow-none): a #GstInstallPluginsContext, or NULL
* @func: (scope async): the function to call when the installer program returns
* @user_data: (closure): the user data to pass to @func when called, or NULL
*
/**
* gst_install_plugins_sync:
- * @details: NULL-terminated array of installer string details
- * @ctx: a #GstInstallPluginsContext, or NULL
+ * @details: (array zero-terminated=1) (transfer none): NULL-terminated array
+ * of installer string details
+ * @ctx: (allow-none): a #GstInstallPluginsContext, or NULL
*
* Requests plugin installation and block until the plugins have been
* installed or installation has failed.