validate:flow: Add a way to set the types of events to log/ignore
authorThibault Saunier <tsaunier@igalia.com>
Thu, 16 Jan 2020 00:15:30 +0000 (21:15 -0300)
committerThibault Saunier <tsaunier@igalia.com>
Tue, 4 Feb 2020 19:09:36 +0000 (16:09 -0300)
commit5b82274f170bf17ad0fa144411cd06b979306d9c
tree4d0ec970d84f9344e2da7dcbf2ca6c130596f349
parenta2e926ff0a5e7c2d719269b5ef774a09fbd3fb8c
validate:flow: Add a way to set the types of events to log/ignore

Added two properties to the plugin:
     * ignored-event-types: A list of event types to be ignored when logging events
     * logged-event-types: A list of event types to be logged when logging events

This commits also moves the "ignored-event-fields" property to using a proper
GstValueList for the list of event fields to be taken into account, instead
of the home grown separated by comas list of string, making the API more
uniform.

This also adds a simple helper method: `gst_validate_utils_get_strv`
docs/plugins/validateflow.md
validate/gst/validate/gst-validate-utils.c
validate/gst/validate/gst-validate-utils.h
validate/plugins/flow/formatting.c
validate/plugins/flow/formatting.h
validate/plugins/flow/gstvalidateflow.c
validate/win32/common/libgstvalidate.def