mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
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:
parent
03986397b1
commit
f04595fbf1
4 changed files with 11 additions and 4 deletions
|
@ -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>
|
2004-12-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||||
|
|
||||||
* docs/random/bbb/subtitles:
|
* docs/random/bbb/subtitles:
|
||||||
|
|
|
@ -890,9 +890,9 @@ gst_plugin_load (const gchar * name)
|
||||||
* @name: name of library to load
|
* @name: name of library to load
|
||||||
*
|
*
|
||||||
* Load the named library. Name should be given as
|
* Load the named library. Name should be given as
|
||||||
* "liblibrary.so".
|
* "liblibrary.so". (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
|
gboolean
|
||||||
gst_library_load (const gchar * name)
|
gst_library_load (const gchar * name)
|
||||||
|
|
|
@ -247,7 +247,7 @@ main (gint argc, gchar ** argv)
|
||||||
long size;
|
long size;
|
||||||
|
|
||||||
gst_init (&argc, &argv);
|
gst_init (&argc, &argv);
|
||||||
gst_library_load ("bytestream");
|
gst_library_load ("gstbytestream");
|
||||||
|
|
||||||
pipeline = gst_element_factory_make ("pipeline", NULL);
|
pipeline = gst_element_factory_make ("pipeline", NULL);
|
||||||
g_assert (pipeline);
|
g_assert (pipeline);
|
||||||
|
|
|
@ -247,7 +247,7 @@ main (gint argc, gchar ** argv)
|
||||||
long size;
|
long size;
|
||||||
|
|
||||||
gst_init (&argc, &argv);
|
gst_init (&argc, &argv);
|
||||||
gst_library_load ("bytestream");
|
gst_library_load ("gstbytestream");
|
||||||
|
|
||||||
pipeline = gst_element_factory_make ("pipeline", NULL);
|
pipeline = gst_element_factory_make ("pipeline", NULL);
|
||||||
g_assert (pipeline);
|
g_assert (pipeline);
|
||||||
|
|
Loading…
Reference in a new issue