diff --git a/redact.py b/redact.py index e10a39600..9f42c4282 100755 --- a/redact.py +++ b/redact.py @@ -68,6 +68,9 @@ def process_file(input_path, output_path): # Calculate how much time to subtract from future timestamps time_offset += (current_timestamp - skip_start_time) + # Add a 0.5 second pause after each skip section + last_timestamp += 0.5 + # Write this record with adjusted timestamp adjusted_timestamp = max(current_timestamp - time_offset, last_timestamp) last_timestamp = adjusted_timestamp