Commit 3277d481 authored by James Zern's avatar James Zern Committed by Gerrit Code Review

Merge "Use input framerate as timebase if none was explicitly specified."

parents 5ac25c91 9134e9f8
......@@ -2074,6 +2074,8 @@ int main(int argc, const char **argv_) {
if (!global.have_framerate) {
global.framerate.num = input.framerate.numerator;
global.framerate.den = input.framerate.denominator;
FOREACH_STREAM(stream->config.cfg.g_timebase.den = global.framerate.num;
stream->config.cfg.g_timebase.num = global.framerate.den);
}
FOREACH_STREAM(set_default_kf_interval(stream, &global));
......
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