[FFmpeg-cvslog] ffmpeg: switch stream mapping print code to qatars variant
Michael Niedermayer
git at videolan.org
Tue Aug 30 18:15:08 CEST 2011
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Aug 30 16:33:20 2011 +0200| [ef24426599525e8165249785ae93df6dbe2e06d9] | committer: Michael Niedermayer
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 <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ef24426599525e8165249785ae93df6dbe2e06d9
---
ffmpeg.c | 11 +++++------
1 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/ffmpeg.c b/ffmpeg.c
index 246f948..24cff11 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");
}
}
More information about the ffmpeg-cvslog
mailing list