gst/gstplugin.c: document gst_library_load a bit more (riff special case + return value if already loaded)

Original commit message from CVS:
* gst/gstplugin.c:
document gst_library_load a bit more (riff special case + return value if already loaded)
* testsuite/bytestream/filepadsink.c:
plugin name is 'gstbytestream', not 'bytestream'
This commit is contained in:
Stéphane Loeuillet 2004-12-27 15:09:19 +00:00
parent 03986397b1
commit f04595fbf1
4 changed files with 11 additions and 4 deletions

View file

@ -1,3 +1,10 @@
2004-12-27 Stephane Loeuillet <stephane.loeuillet@tiscali.fr>
* gst/gstplugin.c:
document gst_library_load a bit more (riff special case + return value if already loaded)
* testsuite/bytestream/filepadsink.c:
plugin name is 'gstbytestream', not 'bytestream'
2004-12-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* docs/random/bbb/subtitles:

View file

@ -890,9 +890,9 @@ gst_plugin_load (const gchar * name)
* @name: name of library to load
*
* Load the named library. Name should be given as
* &quot;liblibrary.so&quot;.
* &quot;liblibrary.so&quot;. (exception to this rule is 'riff', which .so name is 'gstriff')
*
* Returns: whether the library was loaded or not
* Returns: whether the library was loaded or not (and return FALSE if it was already loaded)
*/
gboolean
gst_library_load (const gchar * name)

View file

@ -247,7 +247,7 @@ main (gint argc, gchar ** argv)
long size;
gst_init (&argc, &argv);
gst_library_load ("bytestream");
gst_library_load ("gstbytestream");
pipeline = gst_element_factory_make ("pipeline", NULL);
g_assert (pipeline);

View file

@ -247,7 +247,7 @@ main (gint argc, gchar ** argv)
long size;
gst_init (&argc, &argv);
gst_library_load ("bytestream");
gst_library_load ("gstbytestream");
pipeline = gst_element_factory_make ("pipeline", NULL);
g_assert (pipeline);