avconv: print the codecs names in the stream mapping.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
This commit is contained in:
Nicolas George 2011-08-20 12:40:26 +02:00 committed by Anton Khirnov
parent c74b44de08
commit bc8c50512f

View File

@ -2194,6 +2194,10 @@ static int transcode_init(OutputFile *output_files,
ost->sync_ist->st->index); ost->sync_ist->st->index);
if (ost->st->stream_copy) if (ost->st->stream_copy)
fprintf(stderr, " (copy)"); fprintf(stderr, " (copy)");
else
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"); fprintf(stderr, "\n");
} }
} }