Commit 9098f0ec authored by Michael Niedermayer's avatar Michael Niedermayer

ffmpeg: remove common factors from copied timebase

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 8e7c8325
...@@ -2879,7 +2879,8 @@ static int transcode_init(void) ...@@ -2879,7 +2879,8 @@ static int transcode_init(void)
} }
ost->st->codec->codec= ost->enc_ctx->codec; ost->st->codec->codec= ost->enc_ctx->codec;
ost->st->time_base = ost->enc_ctx->time_base; // copy timebase while removing common factors
ost->st->time_base = av_add_q(ost->enc_ctx->time_base, (AVRational){0});
} }
/* init input streams */ /* init input streams */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment