mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-16 19:25:18 +00:00
plugin: recommend "--gst-disable-registry-fork" as well
Disabling forking helps with debugging the cause of the crash in gdb.
This commit is contained in:
parent
5897b1993d
commit
6e97957b60
1 changed files with 5 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue