diff options
author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2010-02-06 01:29:55 +0000 |
---|---|---|
committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2010-02-06 01:29:55 +0000 |
commit | fd6d1cc6ccda5ff8319ae0eb8417c5db5700938a (patch) | |
tree | a675486a37a9df46add79cfaf2c9f17f82d251c8 /src | |
parent | 1cb9832ac0b6a132b172302ad76f68f16e3487e1 (diff) | |
download | xine-lib-fd6d1cc6ccda5ff8319ae0eb8417c5db5700938a.tar.gz xine-lib-fd6d1cc6ccda5ff8319ae0eb8417c5db5700938a.tar.bz2 |
libv4l check shouldn't fail & abort unless --enable-libv4l is given.
Diffstat (limited to 'src')
-rw-r--r-- | src/input/net_buf_ctrl.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/input/net_buf_ctrl.c b/src/input/net_buf_ctrl.c index 1d01911fd..1ac0cb066 100644 --- a/src/input/net_buf_ctrl.c +++ b/src/input/net_buf_ctrl.c @@ -122,7 +122,7 @@ static void display_stats (nbc_t *this) { static const char enabled[2][4] = {"off", "on "}; printf("net_buf_ctrl: vid %3d%% %4.1fs %4" PRId64 "kbps %1d, "\ - "aud %3d%% %4.1fs %4" PRId64 "kbps %1d, %s %s\r", + "aud %3d%% %4.1fs %4" PRId64 "kbps %1d, %s %s%c", this->video_fifo_fill, (float)(this->video_fifo_length / 1000), this->video_br / 1000, @@ -132,7 +132,8 @@ static void display_stats (nbc_t *this) { this->audio_br / 1000, this->audio_in_disc, buffering[this->buffering], - enabled[this->enabled] + enabled[this->enabled], + isatty (stdout) ? '\r' : '\n' ); fflush(stdout); } |