gst/gstregistryxml.c: Asserting on a failure to read part of the registry is Not Cool.

Original commit message from CVS:
* gst/gstregistryxml.c: (load_feature):
Asserting on a failure to read part of the registry is Not Cool.
Just log a warning and return NULL (which is already handled)
This commit is contained in:
Michael Smith 2006-03-02 11:04:58 +00:00
parent 13dcc943cd
commit 961886779d
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2006-03-02 Michael Smith <msmith@fluendo.com>
* gst/gstregistryxml.c: (load_feature):
Asserting on a failure to read part of the registry is Not Cool.
Just log a warning and return NULL (which is already handled)
2006-02-28 Sebastien Moutte <sebastien@moutte.net>
* win32/common/libgstbase.def:

View file

@ -338,7 +338,7 @@ load_feature (xmlTextReaderPtr reader)
}
}
g_assert_not_reached ();
GST_WARNING ("Error reading feature from registry: registry corrupt?");
return NULL;
}