mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-14 05:12:09 +00:00
a63780a377
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.
17 lines
330 B
C
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);
|
|
}
|
|
|