Skip to content

decklink: Check for a missing output mode and a missing conversion (#2144) - #2146

Merged
zackees merged 1 commit into
masterfrom
fix/decklink-null-mode
Oct 24, 2026
Merged

zackees merged 1 commit into
masterfrom
fix/decklink-null-mode

Conversation

@zackees

@zackees zackees commented Oct 24, 2026

Copy link
Copy Markdown
Member

Fixes #2144

  • decklink_output_create: when FindOutputMode returns NULL (a saved mode ID the device doesn't offer), skip setting the conversion and log an error.
  • Output start: fail with Start failed: output mode not found on the device!, like the existing FPS mismatch.
  • DeckLinkDeviceInstance::StartOutput: a NULL obs_output_get_video_conversion (create didn't find the device or mode) counts as not HDR, so the start proceeds as SDR.

No RED test: as the issue says, neither path can run here without DeckLink hardware, and the plugin has no device mock to build one on. Verification is reading the code plus the plugin build in PR CI (Fast Gate compiles touched plugins on Linux). ./lint passes. A features ledger line is under Fixed upstream bugs → Stability.

…2144)

FindOutputMode returns NULL for a saved mode ID the device doesn't
offer; create and start dereferenced it. Create now skips the
conversion and logs, and start fails with an error, like the FPS
mismatch. StartOutput treats a missing video conversion as not HDR.

Fixes #2144
@zackees
zackees enabled auto-merge October 24, 2026 12:28
@zackees
zackees added this pull request to the merge queue Oct 24, 2026
Merged via the queue into master with commit cf4de89 Oct 24, 2026
30 checks passed
@zackees
zackees deleted the fix/decklink-null-mode branch October 26, 2026 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

decklink: Output crashes on a saved mode the device lacks, and on an HDR start with no conversion

1 participant