Revision 21005,
422 bytes
checked in by ghudson, 20 years ago
(diff) |
This commit was generated by cvs2svn to compensate for changes in r21004,
which included commits to RCS files with non-trunk default branches.
|
Line | |
---|
1 | |
---|
2 | #include <gst/gst.h> |
---|
3 | |
---|
4 | int |
---|
5 | main (int argc, char *argv[]) |
---|
6 | { |
---|
7 | GstPlugin *plugin; |
---|
8 | GError *error = NULL; |
---|
9 | |
---|
10 | gst_init (&argc, &argv); |
---|
11 | |
---|
12 | plugin = gst_plugin_load_file (".libs/libtestplugin.so", &error); |
---|
13 | if (error) { |
---|
14 | g_print ("ERROR loading plug-in: %s\n", error->message); |
---|
15 | g_free (error); |
---|
16 | return 1; |
---|
17 | } |
---|
18 | g_assert (plugin != NULL); |
---|
19 | |
---|
20 | g_print ("testplugin: %s\n", gst_plugin_get_name (plugin)); |
---|
21 | |
---|
22 | return 0; |
---|
23 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.