WIP: Handle v4l device dropouts gracefully #4

Draft
dexterlb wants to merge 1 commit from handle-v4l-drops-gracefully into main
Member

Addresses issue #1: Currently fazantix has at least 3 separate bugs that cause it to crash when a v4l device disappears. This PR seeks to fix those bugs and to implement automatic v4l device reopening.

Still work in progress - main crash has been fixed but two more crashes appeared!

Addresses issue #1: Currently fazantix has at least 3 separate bugs that cause it to crash when a v4l device disappears. This PR seeks to fix those bugs and to implement automatic v4l device reopening. Still work in progress - main crash has been fixed but two more crashes appeared!
dexterlb changed title from Handle v4l device dropouts gracefully to WIP: Handle v4l device dropouts gracefully 2026-09-17 12:52:26 +00:00
This pull request has changes conflicting with the target branch.
  • lib/layer/framefwd.go
  • lib/rendering/textures.go
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin handle-v4l-drops-gracefully:handle-v4l-drops-gracefully
git switch handle-v4l-drops-gracefully

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff handle-v4l-drops-gracefully
git switch handle-v4l-drops-gracefully
git rebase main
git switch main
git merge --ff-only handle-v4l-drops-gracefully
git switch handle-v4l-drops-gracefully
git rebase main
git switch main
git merge --no-ff handle-v4l-drops-gracefully
git switch main
git merge --squash handle-v4l-drops-gracefully
git switch main
git merge --ff-only handle-v4l-drops-gracefully
git switch main
git merge handle-v4l-drops-gracefully
git push origin main
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
video/fazantix!4
No description provided.