From ef24426599525e8165249785ae93df6dbe2e06d9 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 30 Aug 2011 16:33:20 +0200 Subject: [PATCH] ffmpeg: switch stream mapping print code to qatars variant Author of the lines of code is probably Nicolas and or Anton Signed-off-by: Michael Niedermayer --- ffmpeg.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/ffmpeg.c b/ffmpeg.c index 246f9485b7..24cff11ec0 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -2241,13 +2241,12 @@ static int transcode_init(OutputFile *output_files, fprintf(stderr, " [sync #%d.%d]", ost->sync_ist->file_index, ost->sync_ist->st->index); - if(ost->encoding_needed) - fprintf(stderr, ": %s -> %s", - input_streams[ost->source_index].dec ? - input_streams[ost->source_index].dec->name : "?", - ost->enc ? ost->enc->name : "?"); + if (ost->st->stream_copy) + fprintf(stderr, " (copy)"); else - fprintf(stderr, ": copy"); + fprintf(stderr, " (%s -> %s)", input_streams[ost->source_index].dec ? + input_streams[ost->source_index].dec->name : "?", + ost->enc ? ost->enc->name : "?"); fprintf(stderr, "\n"); } }