From 3f3232a371cc88696184d9aef1f812656264e56c Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Wed, 9 Jul 2014 10:33:03 +0000 Subject: [PATCH] avconv: set the output stream timebase This is required by the new API. --- avconv.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/avconv.c b/avconv.c index 13968da..0ee7628 100644 --- a/avconv.c +++ b/avconv.c @@ -1972,6 +1972,8 @@ static int transcode_init(void) "Error initializing the output stream codec context.\n"); exit_program(1); } + + ost->st->time_base = ost->enc_ctx->time_base; } /* init input streams */ -- 2.7.4