From: Tim-Philipp Müller Date: Sun, 3 Sep 2006 11:16:50 +0000 (+0000) Subject: gst/gst.c: Print better details when child was terminated by signal. X-Git-Tag: RELEASE-0_10_10~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6ef1f92e8844a06b7c20511a47decc787cf6dc1d;p=platform%2Fupstream%2Fgstreamer.git gst/gst.c: Print better details when child was terminated by signal. Original commit message from CVS: * gst/gst.c: (ensure_current_registry_forking): Print better details when child was terminated by signal. --- diff --git a/ChangeLog b/ChangeLog index 28a3992..a6d03a1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2006-09-03 Tim-Philipp Müller + * gst/gst.c: (ensure_current_registry_forking): + Print better details when child was terminated by signal. + +2006-09-03 Tim-Philipp Müller + * gst/gstregistryxml.c: (gst_registry_xml_save_feature): Print a warning rather than g_assert() if a plugin feature is a URI handler but returns no protocols (#353976). diff --git a/gst/gst.c b/gst/gst.c index 1976212..4487893 100644 --- a/gst/gst.c +++ b/gst/gst.c @@ -723,7 +723,12 @@ ensure_current_registry_forking (GstRegistry * default_registry, } if (!WIFEXITED (status)) { - GST_ERROR ("child did not exit normally, status: %d", status); + if (WIFSIGNALED (status)) { + GST_ERROR ("child did not exit normally, terminated by signal %d", + WTERMSIG (status)); + } else { + GST_ERROR ("child did not exit normally, status: %d", status); + } return FALSE; }