mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 18:51:11 +00:00
d29bf4183d
Original commit message from CVS: tell us more about your failure
23 lines
422 B
C
23 lines
422 B
C
|
|
#include <gst/gst.h>
|
|
|
|
int
|
|
main (int argc, char *argv[])
|
|
{
|
|
GstPlugin *plugin;
|
|
GError *error = NULL;
|
|
|
|
gst_init (&argc, &argv);
|
|
|
|
plugin = gst_plugin_load_file (".libs/libtestplugin.so", &error);
|
|
if (error) {
|
|
g_print ("ERROR loading plug-in: %s\n", error->message);
|
|
g_free (error);
|
|
return 1;
|
|
}
|
|
g_assert (plugin != NULL);
|
|
|
|
g_print ("testplugin: %s\n", gst_plugin_get_name (plugin));
|
|
|
|
return 0;
|
|
}
|