Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit 3bf71a4

Browse files
committed
Use \n to output message line by line
1 parent a3fbd18 commit 3bf71a4

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

dist/ffmpeg-core.js

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

fftools/ffmpeg.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1818,7 +1818,8 @@ static void print_report(int is_last_report, int64_t timer_start, int64_t cur_ti
18181818
}
18191819

18201820
if (print_stats || is_last_report) {
1821-
const char end = is_last_report ? '\n' : '\r';
1821+
// const char end = is_last_report ? '\n' : '\r';
1822+
const char end = '\n';
18221823
if (print_stats==1 && AV_LOG_INFO > av_log_get_level()) {
18231824
fprintf(stderr, "%s %c", buf.str, end);
18241825
} else

0 commit comments

Comments
 (0)