diff options
author | Richard Boulton <richard@tartarus.org> | 2001-01-07 07:01:37 +0000 |
---|---|---|
committer | Richard Boulton <richard@tartarus.org> | 2001-01-07 07:01:37 +0000 |
commit | 81aa7d16b0a9d0100fef92985b91e6e365df171c (patch) | |
tree | 35d24fcf2d34ce3a156c524ba4df3ac22523ffdd /tools | |
parent | 7b865ef7fd9b0fcab99cfed85a8d64e47cc35f9e (diff) |
Check plugin repository up-to-dateness by scanning through all directories on path, and checking that they and all th...
Original commit message from CVS:
Check plugin repository up-to-dateness by scanning through all directories
on path, and checking that they and all their files are older than the
repository. Give warning message if not.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/gstreamer-register.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/gstreamer-register.c b/tools/gstreamer-register.c index fad9c5478d..2000ffaaab 100644 --- a/tools/gstreamer-register.c +++ b/tools/gstreamer-register.c @@ -101,14 +101,17 @@ int main(int argc,char *argv[]) { xmlDocPtr doc; + // Init gst + _gst_plugin_spew = TRUE; + gst_init(&argc,&argv); + + // Check args if (argc != 1) usage(argv[0]); // Check that directory for config exists check_dir(GLOBAL_REGISTRY_DIR); // Read the plugins - _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); |