summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-09-10 13:57:29 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-09-10 13:57:29 +0200
commitf8f4e48b6da0c8dcaedf27dc34229ae252537c67 (patch)
tree430eb2a64744fd458b5bd612953c10bb6a090fc1
parentbb23bf8fd7fb4771b0f08a4ee1ba8fe6ca16d14f (diff)
ffmpeg: print command replies starting on column 0
This fixes formating issues with multi-line replies Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--ffmpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 886b373e96..bd2dc0453c 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -2697,7 +2697,7 @@ static int check_keyboard_interaction(int64_t cur_time)
if (time < 0) {
ret = avfilter_graph_send_command(fg->graph, target, command, arg, buf, sizeof(buf),
key == 'c' ? AVFILTER_CMD_FLAG_ONE : 0);
- fprintf(stderr, "Command reply for stream %d: ret:%d res:%s\n", i, ret, buf);
+ fprintf(stderr, "Command reply for stream %d: ret:%d res:\n%s", i, ret, buf);
} else {
ret = avfilter_graph_queue_command(fg->graph, target, command, arg, 0, time);
}