Since the FFmpeg commit 7eeef72c6, the IDR period is set to gopLength unconditinally even for intra-refresh mode, which is what the removed patch did. + do not check if FFmpeg is patched (the macro is )