Skip to content

move json serialization to process, consolidate fps print function#932

Merged
harrypm merged 1 commit intohappycube:mainfrom
eshaz:json-dump-process
Jul 29, 2025
Merged

move json serialization to process, consolidate fps print function#932
harrypm merged 1 commit intohappycube:mainfrom
eshaz:json-dump-process

Conversation

@eshaz
Copy link
Copy Markdown
Contributor

@eshaz eshaz commented Jul 29, 2025

  • Move the tbc json serialization thread into a process so it doesn't get locked by the GIL.
  • Only build and save the json if the write is ready to take place, and one isn't currently happening. This avoids the write queue from getting backed up with stale updates, we just care about the most recent copy.
  • Refactor the fps stats message into the lddecode object so it no longer needs to be duplicated in the vhs-decode and cvbs-decode subclasses.

@harrypm harrypm merged commit 917e0db into happycube:main Jul 29, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants