mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
validate: Rename libfaultinjector to libgstvalidatefaultinjector
https://bugzilla.gnome.org/show_bug.cgi?id=743994
This commit is contained in:
parent
dae4051ed6
commit
1194b313af
2 changed files with 26 additions and 15 deletions
|
@ -1,10 +1,10 @@
|
|||
plugin_LTLIBRARIES = libfaultinjection.la
|
||||
plugin_LTLIBRARIES = libgstvalidatefaultinjection.la
|
||||
|
||||
libfaultinjection_la_SOURCES = \
|
||||
libgstvalidatefaultinjection_la_SOURCES = \
|
||||
socket_interposer.c
|
||||
|
||||
libfaultinjection_la_CFLAGS = $(GST_ALL_CFLAGS)
|
||||
libfaultinjection_la_LIBADD = $(GST_ALL_LIBS) $(top_builddir)/gst/validate/libgstvalidate-@GST_API_VERSION@.la
|
||||
libfaultinjection_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) $(GST_ALL_LDFLAGS)
|
||||
libgstvalidatefaultinjection_la_CFLAGS = $(GST_ALL_CFLAGS)
|
||||
libgstvalidatefaultinjection_la_LIBADD = $(GST_ALL_LIBS) $(top_builddir)/gst/validate/libgstvalidate-@GST_API_VERSION@.la
|
||||
libgstvalidatefaultinjection_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) $(GST_ALL_LDFLAGS)
|
||||
|
||||
CLEANFILES =
|
||||
|
|
|
@ -340,16 +340,27 @@ socket_interposer_init (GstPlugin * plugin)
|
|||
gst_validate_register_action_type ("corrupt-socket-recv", gst_plugin_get_name (plugin),
|
||||
_execute_corrupt_socket_recv, ((GstValidateActionParameter[]) {
|
||||
{
|
||||
.name = "port",.description =
|
||||
"The port the socket to be corrupted listens on",.mandatory =
|
||||
TRUE,.types = "int",.possible_variables = NULL,}, {
|
||||
.name = "errno",.description =
|
||||
"errno to set when failing",.mandatory = TRUE,.types =
|
||||
"string",}, {
|
||||
.name = "times",.description =
|
||||
"Number of times to corrupt recv, default is one",.mandatory =
|
||||
FALSE,.types = "int",.possible_variables = NULL,.def = "1",}, {
|
||||
NULL}
|
||||
.name = "port",
|
||||
.description = "The port the socket to be corrupted listens on",
|
||||
.mandatory = TRUE,
|
||||
.types = "int",
|
||||
.possible_variables = NULL,
|
||||
},
|
||||
{
|
||||
.name = "errno",
|
||||
.description = "errno to set when failing",
|
||||
.mandatory = TRUE,
|
||||
.types = "string",
|
||||
},
|
||||
{
|
||||
.name = "times",
|
||||
.description = "Number of times to corrupt recv, default is one",
|
||||
.mandatory = FALSE,
|
||||
.types = "int",
|
||||
.possible_variables = NULL,
|
||||
.def = "1",
|
||||
},
|
||||
{NULL}
|
||||
}),
|
||||
"corrupt the next socket receive", GST_VALIDATE_ACTION_TYPE_ASYNC);
|
||||
/* *INDENT-ON* */
|
||||
|
|
Loading…
Reference in a new issue