From 6e97957b60c0d3734c7fcbaa6ec7735683c5ab5c Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Tue, 7 Dec 2010 12:57:40 +0200 Subject: [PATCH] plugin: recommend "--gst-disable-registry-fork" as well Disabling forking helps with debugging the cause of the crash in gdb. --- gst/gstplugin.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/gst/gstplugin.c b/gst/gstplugin.c index 9ecce3c81e..2ee87511e0 100644 --- a/gst/gstplugin.c +++ b/gst/gstplugin.c @@ -602,7 +602,8 @@ _gst_plugin_fault_handler_sighandler (int signum) g_print ("%s\n\n", _gst_plugin_fault_handler_filename); g_print ("Please either:\n"); g_print ("- remove it and restart.\n"); - g_print ("- run with --gst-disable-segtrap and debug.\n"); + g_print + ("- run with --gst-disable-segtrap --gst-disable-registry-fork and debug.\n"); exit (-1); break; default: @@ -1568,7 +1569,7 @@ gst_plugin_ext_dep_scan_dir_and_match_names (GstPlugin * plugin, GDir *dir; guint hash = 0; - recurse_dirs = ! !(flags & GST_PLUGIN_DEPENDENCY_FLAG_RECURSE); + recurse_dirs = !!(flags & GST_PLUGIN_DEPENDENCY_FLAG_RECURSE); dir = g_dir_open (path, 0, &err); if (dir == NULL) { @@ -1630,8 +1631,8 @@ gst_plugin_ext_dep_scan_path_with_filenames (GstPlugin * plugin, if (filenames == NULL || *filenames == NULL) filenames = empty_filenames; - recurse_into_dirs = ! !(flags & GST_PLUGIN_DEPENDENCY_FLAG_RECURSE); - partial_names = ! !(flags & GST_PLUGIN_DEPENDENCY_FLAG_FILE_NAME_IS_SUFFIX); + recurse_into_dirs = !!(flags & GST_PLUGIN_DEPENDENCY_FLAG_RECURSE); + partial_names = !!(flags & GST_PLUGIN_DEPENDENCY_FLAG_FILE_NAME_IS_SUFFIX); /* if we can construct the exact paths to check with the data we have, just * stat them one by one; this is more efficient than opening the directory