gst-inspect: Fix ANSI escape sequence usage on Windows
authorNirbheek Chauhan <nirbheek@centricular.com>
Wed, 16 Jan 2019 20:00:25 +0000 (01:30 +0530)
committerNirbheek Chauhan <nirbheek@centricular.com>
Wed, 16 Jan 2019 20:04:53 +0000 (01:34 +0530)
commit7d2938ddcae5b908e9eefd3faec7ff585bb8d631
tree3e17aa3f952b6e6f5c495ac920c6c6c36427fd4a
parenta143d9cb0caee85bbe0c5e8b86e9f05918153c9d
gst-inspect: Fix ANSI escape sequence usage on Windows

Either disable it when it's not supported, or setup the console to
interpret them correctly when it's supported.

Closes https://gitlab.freedesktop.org/gstreamer/gstreamer/issues/351
tools/gst-inspect.c