gstreamer/tools/gstreamer-register.c
Erik Walthinsen 4e1875f826 Some minor compilation fixes...
Original commit message from CVS:
Some minor compilation fixes...
2000-12-17 04:54:57 +00:00

20 lines
392 B
C

#include <gst/gst.h>
extern gboolean _gst_plugin_spew;
int main(int argc,char *argv[])
{
xmlDocPtr doc;
unlink("/etc/gstreamer/reg.xml");
_gst_plugin_spew = TRUE;
gst_init(&argc,&argv);
doc = xmlNewDoc("1.0");
doc->root = xmlNewDocNode(doc, NULL, "GST-PluginRegistry", NULL);
gst_plugin_save_thyself(doc->root);
xmlSaveFile("/etc/gstreamer/reg.xml", doc);
exit(0);
}