From: <tp...@ke...> - 2006-09-03 11:17:04
|
CVS Root: /cvs/gstreamer Module: gstreamer Changes by: tpm Date: Sun Sep 03 2006 11:17:02 UTC Log message: * gst/gst.c: (ensure_current_registry_forking): Print better details when child was terminated by signal. Modified files: . : ChangeLog gst : gst.c Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/ChangeLog.diff?r1=1.2792&r2=1.2793 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/gst/gst.c.diff?r1=1.219&r2=1.220 ====Begin Diffs==== Index: ChangeLog =================================================================== RCS file: /cvs/gstreamer/gstreamer/ChangeLog,v retrieving revision 1.2792 retrieving revision 1.2793 diff -u -d -r1.2792 -r1.2793 --- ChangeLog 3 Sep 2006 11:06:52 -0000 1.2792 +++ ChangeLog 3 Sep 2006 11:16:50 -0000 1.2793 @@ -1,5 +1,10 @@ 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): Print a warning rather than g_assert() if a plugin feature is a URI handler but returns no protocols (#353976). Index: gst.c RCS file: /cvs/gstreamer/gstreamer/gst/gst.c,v retrieving revision 1.219 retrieving revision 1.220 diff -u -d -r1.219 -r1.220 --- gst.c 20 Aug 2006 19:30:09 -0000 1.219 +++ gst.c 3 Sep 2006 11:16:50 -0000 1.220 @@ -723,7 +723,12 @@ } 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; |