From 961886779dfe36fbc0e83606f0500730f6cc43fa Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Thu, 2 Mar 2006 11:04:58 +0000 Subject: [PATCH] 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) --- ChangeLog | 6 ++++++ gst/gstregistryxml.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 90419ba24b..de1dd4b7e1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-03-02 Michael Smith + + * 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 * win32/common/libgstbase.def: diff --git a/gst/gstregistryxml.c b/gst/gstregistryxml.c index 43d5ecf52a..9e5fe25224 100644 --- a/gst/gstregistryxml.c +++ b/gst/gstregistryxml.c @@ -338,7 +338,7 @@ load_feature (xmlTextReaderPtr reader) } } - g_assert_not_reached (); + GST_WARNING ("Error reading feature from registry: registry corrupt?"); return NULL; }