mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
added unlink() of registry file, and moved info enable up
Original commit message from CVS: added unlink() of registry file, and moved info enable up
This commit is contained in:
parent
a4c45cee9c
commit
f20398a2f7
1 changed files with 5 additions and 1 deletions
|
@ -130,11 +130,15 @@ int main(int argc,char *argv[])
|
|||
{
|
||||
xmlDocPtr doc;
|
||||
|
||||
// remove the old registry file first
|
||||
// FIXME this could fail, at which point we're spinning
|
||||
unlink(GLOBAL_REGISTRY_FILE);
|
||||
|
||||
// Init gst
|
||||
_gst_plugin_spew = TRUE;
|
||||
_gst_warn_old_registry = FALSE;
|
||||
gst_init(&argc,&argv);
|
||||
gst_info_enable_category(GST_CAT_PLUGIN_LOADING);
|
||||
gst_init(&argc,&argv);
|
||||
|
||||
// Check args
|
||||
if (argc != 1) usage(argv[0]);
|
||||
|
|
Loading…
Reference in a new issue