Updated the docs for gst_pluging_add_path

Original commit message from CVS:
Updated the docs for gst_pluging_add_path
Updated the manual with the new --gst-plugin-path/spew options
This commit is contained in:
Wim Taymans 2001-02-23 19:22:48 +00:00
parent e2a933d38d
commit 3a39f8d1d1
5 changed files with 34 additions and 8 deletions

View file

@ -509,6 +509,7 @@ gst_plugin_is_loaded
gst_plugin_load_all gst_plugin_load_all
gst_plugin_load gst_plugin_load
gst_plugin_load_absolute gst_plugin_load_absolute
gst_plugin_add_path
gst_library_load gst_library_load
gst_plugin_add_factory gst_plugin_add_factory
gst_plugin_add_type gst_plugin_add_type

View file

@ -133,6 +133,14 @@ by the loader at statup.
@Returns: @Returns:
<!-- ##### FUNCTION gst_plugin_add_path ##### -->
<para>
</para>
@path:
<!-- ##### FUNCTION gst_library_load ##### --> <!-- ##### FUNCTION gst_library_load ##### -->
<para> <para>

View file

@ -65,14 +65,6 @@ Query the element for the current mime type
</para> </para>
<!-- ##### FUNCTION gst_fdsink_chain ##### -->
<para>
</para>
@pad:
@buf:
<!-- ##### FUNCTION gst_pad_remove_ghost_parent ##### --> <!-- ##### FUNCTION gst_pad_remove_ghost_parent ##### -->
<para> <para>
@ -81,6 +73,14 @@ Query the element for the current mime type
@pad: @pad:
@parent: @parent:
<!-- ##### FUNCTION gst_fdsink_chain ##### -->
<para>
</para>
@pad:
@buf:
<!-- ##### MACRO GST_SRC_UNSET_FLAGS ##### --> <!-- ##### MACRO GST_SRC_UNSET_FLAGS ##### -->
<para> <para>
This macro usets the given flags. This macro usets the given flags.

View file

@ -26,6 +26,17 @@
Sets the mask for the info output. Sets the mask for the info output.
</para> </para>
</listitem> </listitem>
<listitem>
<para>
<option>--gst-plugin-spew</option>
Enable printout of errors while loading GST plugins.
</para>
</listitem>
<listitem>
<para>
<option>--gst-plugin-path=<replaceable>PATH</replaceable></option>
Add a directory to the plugin search path.
</para>
<listitem> <listitem>
<para> <para>
<option>--help</option> Print the a short desciption of the <option>--help</option> Print the a short desciption of the

View file

@ -99,6 +99,12 @@ _gst_plugin_initialize (void)
xmlFreeDoc (doc); xmlFreeDoc (doc);
} }
/**
* gst_plugin_add_path:
* @path: the directory to add to the search path
*
* Add a directory to the path searched for plugins.
*/
void void
gst_plugin_add_path (const gchar *path) gst_plugin_add_path (const gchar *path)
{ {