summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-07-09 21:44:25 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-07-09 21:44:25 +0200
commit8e7c8325d202d7cd59cfab4172760a3a5c3799ed (patch)
tree9d879fda5a5ffd0b8fb31246538ecec37e562761 /ffmpeg.c
parent4b13ec69c6a23dd25d048bb129fadba131849cf9 (diff)
parent3f3232a371cc88696184d9aef1f812656264e56c (diff)
downloadffmpeg-8e7c8325d202d7cd59cfab4172760a3a5c3799ed.tar.gz
Merge commit '3f3232a371cc88696184d9aef1f812656264e56c'
* commit '3f3232a371cc88696184d9aef1f812656264e56c': avconv: set the output stream timebase Conflicts: ffmpeg.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
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 */