info: Take lock around all prinf on Windows
authorSeungha Yang <seungha.yang@navercorp.com>
Mon, 19 Aug 2019 15:59:15 +0000 (00:59 +0900)
committerTim-Philipp Müller <tim@centricular.com>
Tue, 1 Oct 2019 11:40:32 +0000 (12:40 +0100)
commit32b7108d54447f79a0a70ff9504ced877c069706
tree2048b6c94aa099ca1a0f9aec0481486237b433ad
parentde0a7c4bc89a3df7424b808c893ca243629bebef
info: Take lock around all prinf on Windows

On Windows, concurrent colored gstreamr debug output and usual
stdout/stderr string will cause broken output on terminal.
Since it's OS specific behavior, that's hard to completely avoid it
but we can protect it at least among our printing interfaces side.
gst/gstinfo.c