gstreamer/tools/gstreamer-register.c
Wim Taymans a63780a377 Header cleanup: try to include as little as possible; this will probably speed up compilation a bit.
Original commit message from CVS:
Header cleanup: try to include as little as possible; this will probably
speed up compilation a bit.
changed the .c files to use #include "..."
Fix for the 'plugins are loaded twice' bug.
Fix 22186: GstObject flags are now used everywhere. Added *_FLAG_LAST so
elements do not use the same flags. Added some padding in the flag enum
for future expansion.
2000-12-15 01:57:34 +00:00

17 lines
330 B
C

#include <gst/gst.h>
int main(int argc,char *argv[])
{
xmlDocPtr doc;
unlink("/etc/gstreamer/reg.xml");
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);
}