tell us more about your failure

Original commit message from CVS:
tell us more about your failure
This commit is contained in:
Thomas Vander Stichele 2004-05-19 18:50:35 +00:00
parent 7ca039edbc
commit d29bf4183d
2 changed files with 2 additions and 2 deletions

View file

@ -10,12 +10,12 @@ main (int argc, char *argv[])
gst_init (&argc, &argv);
plugin = gst_plugin_load_file (".libs/libtestplugin.so", &error);
g_assert (plugin != NULL);
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));

View file

@ -10,12 +10,12 @@ main (int argc, char *argv[])
gst_init (&argc, &argv);
plugin = gst_plugin_load_file (".libs/libtestplugin.so", &error);
g_assert (plugin != NULL);
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));