Default to 2*keyframe interval for reorder_queue_size

pull/3774/head
Isaac Connor 2023-09-28 13:52:10 -04:00
parent 413d072e1e
commit ecec9cb29c
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@ bool VideoStore::open() {
av_dict_set(&opts, "reorder_queue_size", nullptr, AV_DICT_MATCH_CASE);
} else {
if (monitor->has_out_of_order_packets()) {
reorder_queue_size = monitor->get_max_keyframe_interval();
reorder_queue_size = 2*monitor->get_max_keyframe_interval();
Debug(1, "reorder_queue_size set to %zu because we have out of order packets", reorder_queue_size);
}
}