update comment to reflect new reality

This commit is contained in:
Moritz Bunkus 2020-04-14 18:57:34 +02:00
parent d2e307d112
commit 180baf7552
No known key found for this signature in database
GPG Key ID: 74AF00ADF2E32C85

View File

@ -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