mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 13:06:23 +00:00
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.
This commit is contained in:
parent
3a6b921f63
commit
6ef1f92e88
2 changed files with 11 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* gst/gst.c: (ensure_current_registry_forking):
|
||||
Print better details when child was terminated by signal.
|
||||
|
||||
2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* gst/gstregistryxml.c: (gst_registry_xml_save_feature):
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue