summaryrefslogtreecommitdiff
path: root/modules/vidloop/vidloop.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/vidloop/vidloop.c')
-rw-r--r--modules/vidloop/vidloop.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/vidloop/vidloop.c b/modules/vidloop/vidloop.c
index 52f4359..d99fa49 100644
--- a/modules/vidloop/vidloop.c
+++ b/modules/vidloop/vidloop.c
@@ -285,7 +285,7 @@ static int enable_codec(struct video_loop *vl, const char *name)
static void print_status(struct video_loop *vl)
{
- (void)re_fprintf(stderr,
+ (void)re_fprintf(stdout,
"\rstatus:"
" [%s] [%s] intra=%zu "
" EFPS=%.1f %u kbit/s \r",
@@ -293,6 +293,7 @@ static void print_status(struct video_loop *vl)
vl->vc_dec ? vl->vc_dec->name : "",
vl->stat.n_intra,
vl->stat.efps, vl->stat.bitrate);
+ fflush(stdout);
}