gstreamer/tests/old/testsuite/plugin/dynamic.c
Wim Taymans 4b8c43a3d9 Fix the plugin testsuite, only registry.c doesn't work yet
Original commit message from CVS:
Fix the plugin testsuite, only registry.c doesn't work yet
2002-05-10 19:24:04 +00:00

21 lines
360 B
C

#include <gst/gst.h>
int
main (int argc, char *argv[])
{
GstPlugin *plugin;
gboolean loaded;
gst_init (&argc, &argv);
plugin = gst_plugin_new (".libs/libtestplugin.so");
g_assert (plugin != NULL);
loaded = gst_plugin_load_plugin (plugin);
g_assert (loaded == TRUE);
g_print ("testplugin: %d, %s\n", loaded, plugin->name);
return 0;
}