ffmpeg: Fix encoder names in printout
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 1 Jun 2014 14:52:10 +0000 (16:52 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 1 Jun 2014 15:15:56 +0000 (17:15 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffmpeg.c

index 282f58f..501af29 100644 (file)
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -2841,6 +2841,7 @@ static int transcode_init(void)
                    "Error initializing the output stream codec context.\n");
             exit_program(1);
         }
+        ost->st->codec->codec= ost->enc_ctx->codec;
     }
 
     /* init input streams */