diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-07-09 21:48:16 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-07-09 21:51:31 +0200 |
commit | 9098f0ecd7bfa8e971ab92bd0c244cb003ef43b2 (patch) | |
tree | 0ef3931aa9fe4a93691a338630a8ad712d4896c0 /ffmpeg.c | |
parent | 8e7c8325d202d7cd59cfab4172760a3a5c3799ed (diff) | |
download | ffmpeg-9098f0ecd7bfa8e971ab92bd0c244cb003ef43b2.tar.gz |
ffmpeg: remove common factors from copied timebase
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2879,7 +2879,8 @@ static int transcode_init(void) } 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 */ |