1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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

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