summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ffmpeg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 4941c84..28ed351 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -2878,6 +2878,8 @@ static int transcode_init(void)
exit_program(1);
}
ost->st->codec->codec= ost->enc_ctx->codec;
+
+ ost->st->time_base = ost->enc_ctx->time_base;
}
/* init input streams */
OpenPOWER on IntegriCloud