[Bug 782028] gst-stats: doesn't build with msvc

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri May 5 02:08:02 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=782028

--- Comment #3 from Scott D Phillips <scott.d.phillips at intel.com> ---
(In reply to Scott D Phillips from comment #1)
> Also, are these regexes working? It looks like they are meant to match ansi
> escape codes, but ansi escape codes won't have the '\[' thing after the
> escape character. AFAICT that is a bash-ism to tell the shell that the
> things between \[ and \] won't be printed, so that it knows how many
> characters long on the screen the thing it just printed is.

This is all wrong, sorry for the FUD. I was misunderstanding the ansi CSI,
which is actually the two byte sequence 0x1b 0x5b ("\x1b["), and obviously '['
needs escaped in a regex. I tested gst-stats-1.0 (before and after the patch)
and the regex is working fine.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list