avconv: print the codecs names in the stream mapping.
authorNicolas George <nicolas.george@normalesup.org>
Sat, 20 Aug 2011 10:40:26 +0000 (12:40 +0200)
committerAnton Khirnov <anton@khirnov.net>
Tue, 23 Aug 2011 14:50:01 +0000 (16:50 +0200)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
avconv.c

index 3bad6e0..a86fa02 100644 (file)
--- a/avconv.c
+++ b/avconv.c
@@ -2194,6 +2194,10 @@ static int transcode_init(OutputFile *output_files,
                         ost->sync_ist->st->index);
             if (ost->st->stream_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");
         }
     }