diff options
author | Nicolas George <nicolas.george@normalesup.org> | 2011-08-20 12:40:26 +0200 |
---|---|---|
committer | Nicolas George <nicolas.george@normalesup.org> | 2011-08-22 10:46:13 +0200 |
commit | 8b52b46c97f2badf6095275f6c5a91ad4c2a9d51 (patch) | |
tree | c193ae32002c7a6dfc1cd44a47d893c3cdcb877d /ffmpeg.c | |
parent | e0ddc2e953b6485c1b6b183fc781170ba945951a (diff) | |
download | ffmpeg-8b52b46c97f2badf6095275f6c5a91ad4c2a9d51.tar.gz |
ffmpeg: print the codecs names in the stream mapping.
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -2623,6 +2623,13 @@ static int transcode(AVFormatContext **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 : "?"); + else + fprintf(stderr, ": copy"); fprintf(stderr, "\n"); } } |