mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-29 21:21:12 +00:00
gst/gstplugin.c: Disable more stuff on
Original commit message from CVS: * gst/gstplugin.c: (_gst_plugin_fault_handler_restore), (_gst_plugin_fault_handler_setup): Disable more stuff on Windows.
This commit is contained in:
parent
1da0f13eb8
commit
addcdee2d6
2 changed files with 21 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2004-04-15 David Schleef <ds@schleef.org>
|
||||||
|
|
||||||
|
* gst/gstplugin.c: (_gst_plugin_fault_handler_restore),
|
||||||
|
(_gst_plugin_fault_handler_setup): Disable more stuff on
|
||||||
|
Windows.
|
||||||
|
|
||||||
2004-04-15 David Schleef <ds@schleef.org>
|
2004-04-15 David Schleef <ds@schleef.org>
|
||||||
|
|
||||||
* gst/gstinfo.c: (_gst_debug_init): Change some internal
|
* gst/gstinfo.c: (_gst_debug_init): Change some internal
|
||||||
|
|
|
@ -44,7 +44,10 @@ static GList *_gst_plugin_static = NULL;
|
||||||
/* static variables for segfault handling of plugin loading */
|
/* static variables for segfault handling of plugin loading */
|
||||||
static char *_gst_plugin_fault_handler_filename = NULL;
|
static char *_gst_plugin_fault_handler_filename = NULL;
|
||||||
extern gboolean *_gst_disable_segtrap; /* see gst.c */
|
extern gboolean *_gst_disable_segtrap; /* see gst.c */
|
||||||
|
|
||||||
|
#ifndef HAVE_WIN32
|
||||||
static gboolean *_gst_plugin_fault_handler_is_setup = FALSE;
|
static gboolean *_gst_plugin_fault_handler_is_setup = FALSE;
|
||||||
|
#endif
|
||||||
|
|
||||||
/* list of valid licenses.
|
/* list of valid licenses.
|
||||||
* One of these must be specified or the plugin won't be loaded
|
* One of these must be specified or the plugin won't be loaded
|
||||||
|
@ -210,6 +213,7 @@ gst_plugin_register_func (GstPlugin * plugin, GModule * module,
|
||||||
return plugin;
|
return plugin;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef HAVE_WIN32
|
||||||
/*
|
/*
|
||||||
* _gst_plugin_fault_handler_restore:
|
* _gst_plugin_fault_handler_restore:
|
||||||
* segfault handler restorer
|
* segfault handler restorer
|
||||||
|
@ -272,6 +276,17 @@ _gst_plugin_fault_handler_setup (void)
|
||||||
|
|
||||||
sigaction (SIGSEGV, &action, NULL);
|
sigaction (SIGSEGV, &action, NULL);
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
static void
|
||||||
|
_gst_plugin_fault_handler_restore (void)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
_gst_plugin_fault_handler_setup (void)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
static void _gst_plugin_fault_handler_setup ();
|
static void _gst_plugin_fault_handler_setup ();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue