Skip to content

linux-v4l: fix framerate value truncation in props - #13808

Open
acscd wants to merge 13 commits into
obsproject:masterfrom
acscd:acscd-patch-1
Open

acscd wants to merge 13 commits into
obsproject:masterfrom
acscd:acscd-patch-1

Conversation

@acscd

@acscd acscd commented Aug 20, 2026 •

Copy link
Copy Markdown

Fixed truncation of packed framerate tupple; selected framerate values will now match textual descriptions.

Also added a log info line clarifying the framerate we're requesting from v4l. This commit fixes issue #13388

Description

Changed int to uint64_t on line 590.
Also added a log (info) output clarifying the framerate we're requesting from v4l.
This commit fixes issue #13388

Motivation and Context

Fixes #13388

How Has This Been Tested?

Tested for building and correct functionality on Linux x86_64.

Types of changes

Bug fix

Checklist:

  • I have read the contributing document.
  • My code has been run through clang-format.
  • My code follows the project's style guidelines
  • My code is not on the master branch.
  • My code has been tested.
  • All commit messages are properly formatted and commits squashed where appropriate.
  • I have included updates to all appropriate documentation.

Fixed truncation of packed framerate tupple; selected framerate values will
now match textual descriptions.

Also added a log info line clarifying the framerate we're requesting from v4l.
This commit fixes issue obsproject#13388
Comment thread plugins/linux-v4l2/v4l2-input.c Resolved
Comment thread plugins/linux-v4l2/v4l2-input.c Resolved
@kkartaltepe

Copy link
Copy Markdown
Collaborator

Thanks for the fix, left a couple comments.

@WizardCM WizardCM added kind/bug Categorizes issue or PR as related to a bug. platform/linux Categorizes issue or PR as affecting Linux specifically labels Sep 13, 2026
@acscd

acscd commented Sep 29, 2026

Copy link
Copy Markdown
Author

It's ready to merge any time now.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/bug Categorizes issue or PR as related to a bug. platform/linux Categorizes issue or PR as affecting Linux specifically

Projects

None yet

Development

Successfully merging this pull request may close these issues.

v4l2 input sets incorrect framerate

3 participants