summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 4941c840ce..28ed351474 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 */