Repository navigation
Conversation
zackees
commented
Oct 30, 2026
zackees
left a comment
Member
Author
There was a problem hiding this comment.
Coordinator review. The fix is right in shape: falling back to the first listed format when nothing is saved, then populating its frame rates, matches what the user expects, and the device-without-formats path still returns early. Adding a case to test_pipewire_camera_format_dedup.c is fine (it is our own test, not an upstream one, and nothing existing is edited). The features line is present.
Before queuing, I need one thing:
- RED → GREEN evidence. The body says both runs are "in progress" and "pending". Please push the RED commit (the new case failing on the unfixed
camera-portal.c.h) and the GREEN commit separately, or paste both focused Tier 2 results, as coordination.md §4 asks.
Two smaller points:
format_selected()now writessettings["format"]from inside a modified callback. That is the usual libobs pattern, but please confirm the saved scene keeps the chosen format after a save and reload. If it doesn't, the source picks "first format" again on every load, and the user's choice is lost once the camera's enumeration order changes.- The test hard-codes
"30.00"from the fake camera. That is fine, but name the fake's format in a comment so the next person knows why the value is 30.
I will queue it once the evidence is in and CI is green.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #1068
Summary
Validation
settings["format"]is absent../lint: reached the CI test suite but failed an unrelated temporary-PATH failure inci/test_check_changes.py(git: command not found).Tiers: this is a Linux C plugin fix; Rust Tier 1 and differential Tier 3 do not apply. Tier 2 is the cmocka camera integration test; Tier 4 does not apply.