gst/gstplugin.c: document gst_library_load a bit more (riff special case + return...
authorStéphane Loeuillet <gstreamer@leroutier.net>
Mon, 27 Dec 2004 15:09:19 +0000 (15:09 +0000)
committerStéphane Loeuillet <gstreamer@leroutier.net>
Mon, 27 Dec 2004 15:09:19 +0000 (15:09 +0000)
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'

ChangeLog
gst/gstplugin.c
tests/old/testsuite/bytestream/filepadsink.c
testsuite/bytestream/filepadsink.c

index e144212..f6093cc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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:
index 0fbfc8e..34c5143 100644 (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)
index 550fda4..f25d47d 100644 (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);
index 550fda4..f25d47d 100644 (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);