gstreamer/test/plugin.c
Erik Walthinsen 0ec400890c initial checkin
Original commit message from CVS:
initial checkin
2000-01-30 10:44:33 +00:00

17 lines
455 B
C

#include <gst/gst.h>
int main(int argc,char *argv[]) {
GstElementFactory *parseau_factory;
GstElement *parseau;
gst_init(&argc,&argv);
gst_plugin_load_all();
parseau_factory = gst_plugin_find_elementfactory("parseau");
g_print("parseau_factory is %p\n",parseau_factory);
parseau = gst_elementfactory_create(parseau_factory,"parser");
g_print("got parseau '%s' from plugin!!!\n",
gst_object_get_name(GST_OBJECT(parseau)));
}