aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2014-07-09 10:33:03 +0000
committerAnton Khirnov <anton@khirnov.net>2014-07-09 13:30:33 +0000
commit3f3232a371cc88696184d9aef1f812656264e56c (patch)
tree0d7aa3ffd9939838f6878cad543b9c4edb752eaf
parentc9c1265c52910578d3db1a6205c85b91ead0903f (diff)
downloadffmpeg-3f3232a371cc88696184d9aef1f812656264e56c.tar.gz
avconv: set the output stream timebase
This is required by the new API.
-rw-r--r--avconv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/avconv.c b/avconv.c
index 13968da4f9..0ee76285f0 100644
--- a/avconv.c
+++ b/avconv.c
@@ -1972,6 +1972,8 @@ static int transcode_init(void)
"Error initializing the output stream codec context.\n");
exit_program(1);
}
+
+ ost->st->time_base = ost->enc_ctx->time_base;
}
/* init input streams */