flow: Use bat to color diffs when possible
authorThibault Saunier <tsaunier@igalia.com>
Sat, 23 May 2020 04:38:32 +0000 (00:38 -0400)
committerThibault Saunier <tsaunier@igalia.com>
Tue, 26 May 2020 23:16:26 +0000 (19:16 -0400)
commitcf0f1df314abe2df0b65e7b2fb03efc262530fc0
treef45270842597236999957719ca2c3ae327cd50e2
parent91ac75aa4ce682c4e8cce6ad7e05157b4ab92e73
flow: Use bat to color diffs when possible

Adding a function to check if can output colored logs

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-devtools/-/merge_requests/197>
validate/gst/validate/gst-validate-utils.c
validate/gst/validate/gst-validate-utils.h
validate/plugins/flow/gstvalidateflow.c