diff options
author | Harald Welte <laforge@gnumonks.org> | 2017-05-28 19:43:21 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-05-28 19:44:26 +0200 |
commit | 0c655bce25d76b115f4c05f9d86c43475699f1a4 (patch) | |
tree | a8a68bc06450f74346a661d86d97926c1e5307ae /src/pq_codec.c | |
parent | 7bdf34cc091ce558e27c260aaf37f2096fd92ca2 (diff) |
direct all log statements to stderr to avoid breaking stdout data out
The tool has the capability to be used in a pipe, so stdout should
recevie nothing else but actual codec/pcm data.
Diffstat (limited to 'src/pq_codec.c')
-rw-r--r-- | src/pq_codec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pq_codec.c b/src/pq_codec.c index 5abff53..f1884fb 100644 --- a/src/pq_codec.c +++ b/src/pq_codec.c @@ -69,7 +69,7 @@ pq_queue_codec(struct pq *pq, const struct codec_desc *codec, int enc_dec_n) item->exit = codec->codec_exit; - printf("PQ: Adding Codec %s, %s format %s\n", codec->name, + fprintf(stderr, "[+] PQ: Adding Codec %s, %s format %s\n", codec->name, enc_dec_n ? "encoding to" : "decoding from", fmt->name); if (!item->proc) |