Skip to content

Reset frame timestamp on day/night transition to avoid false dropped frame counts#832

Merged
dvida merged 1 commit intoprereleasefrom
fix/BufferedCapture/false-dropped-frames
Mar 9, 2026
Merged

Reset frame timestamp on day/night transition to avoid false dropped frame counts#832
dvida merged 1 commit intoprereleasefrom
fix/BufferedCapture/false-dropped-frames

Conversation

@Cybis320
Copy link
Copy Markdown
Contributor

Reset frame timestamp on day/night transition to avoid false dropped frame counts in continuous capture.

@dvida dvida requested a review from Copilot March 9, 2026 21:39
@dvida dvida merged commit 6457cc3 into prerelease Mar 9, 2026
2 checks passed
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Resets the per-capture last_frame_timestamp on planned day/night mode transitions in BufferedCapture.captureFrames() so the expected reconnect gap isn’t misclassified as dropped frames during continuous capture.

Changes:

  • On detected day↔night transitions (GStreamer path), clears dropped-frame counters and also resets last_frame_timestamp to prevent counting the planned reconnect gap as dropped frames.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Cybis320 Cybis320 deleted the fix/BufferedCapture/false-dropped-frames branch March 10, 2026 01:39
dvida added a commit that referenced this pull request Mar 10, 2026
…e/false-dropped-frames

Reset frame timestamp on day/night transition to avoid false dropped frame counts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants