2001-08-21 20:16:48 +00:00
|
|
|
|
|
|
|
#include <gst/gst.h>
|
|
|
|
|
|
|
|
int
|
|
|
|
main (int argc, char *argv[])
|
|
|
|
{
|
|
|
|
GstPlugin *plugin;
|
|
|
|
|
|
|
|
gst_init (&argc, &argv);
|
|
|
|
|
2002-05-10 19:24:04 +00:00
|
|
|
plugin = gst_registry_pool_find_plugin ("testplugin");
|
2001-08-21 20:16:48 +00:00
|
|
|
g_assert (plugin != NULL);
|
|
|
|
|
2003-11-04 05:48:16 +00:00
|
|
|
g_print ("testplugin: %p %s\n", plugin, gst_plugin_get_name(plugin));
|
2001-08-21 20:16:48 +00:00
|
|
|
|
2002-05-10 19:24:04 +00:00
|
|
|
plugin = gst_registry_pool_find_plugin ("testplugin2");
|
2001-08-21 20:16:48 +00:00
|
|
|
g_assert (plugin != NULL);
|
|
|
|
|
2003-11-04 05:48:16 +00:00
|
|
|
g_print ("testplugin2: %p %s\n", plugin, gst_plugin_get_name(plugin));
|
2001-08-21 20:16:48 +00:00
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|