ffmpeg: print the codecs names in the stream mapping.

This commit is contained in:
Nicolas George 2011-08-20 12:40:26 +02:00
parent e0ddc2e953
commit 8b52b46c97
1 changed files with 7 additions and 0 deletions

View File

@ -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");
}
}