The timebase was being set to the value in the Y4M file on each pass, but only doubled to account for the altref placement on the first past. This avoids reseting it on the second pass.
Unified · Split
| @@ -890,6 +890,8 @@ int main(int argc, const char **argv_) · 889 unmodified lines | ||
| 890 | 890 | { |
| 891 | 891 | cfg.g_timebase.num = y4m.fps_d; |
| 892 | 892 | cfg.g_timebase.den = y4m.fps_n; |
| 893 | + /* And don't reset it in the second pass.*/ | |
| 894 | + arg_have_timebase = 1; | |
| 893 | 895 | } |
| 894 | 896 | arg_use_i420 = 0; |
| 895 | 897 | } |