From 180baf7552d145f4d4e4a85238866971c7d3be69 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Tue, 14 Apr 2020 18:57:34 +0200 Subject: [PATCH] update comment to reflect new reality --- src/merge/cluster_helper.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/merge/cluster_helper.cpp b/src/merge/cluster_helper.cpp index 4493b42a3..915f58ff8 100644 --- a/src/merge/cluster_helper.cpp +++ b/src/merge/cluster_helper.cpp @@ -598,8 +598,9 @@ cluster_helper_c::add_to_cues_maybe(packet_cptr &pack) { // ... or if the user requested entries for all frames ... add = add || (CUE_STRATEGY_ALL == strategy); - // ... or if this is an audio track, there is no video track and the - // last cue entry was created more than 2s ago. + // ... or if this is a key frame for an audio track, there is no + // video track and the last cue entry was created more than 0.5s + // ago. add = add || ( (CUE_STRATEGY_SPARSE == strategy) && (track_audio == source.get_track_type()) && !g_video_packetizer