mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 02:01:12 +00:00
aa63f65fc8
Original commit message from CVS: Update for new plugin API. static and static2 now fail
23 lines
447 B
C
23 lines
447 B
C
|
|
#include <gst/gst.h>
|
|
|
|
int
|
|
main (int argc, char *argv[])
|
|
{
|
|
GstPlugin *plugin;
|
|
|
|
gst_init (&argc, &argv);
|
|
|
|
plugin = gst_registry_pool_find_plugin ("testplugin");
|
|
g_assert (plugin != NULL);
|
|
|
|
g_print ("testplugin: %p %s\n", plugin, gst_plugin_get_name(plugin));
|
|
|
|
plugin = gst_registry_pool_find_plugin ("testplugin2");
|
|
g_assert (plugin != NULL);
|
|
|
|
g_print ("testplugin2: %p %s\n", plugin, gst_plugin_get_name(plugin));
|
|
|
|
return 0;
|
|
}
|
|
|