Skip to content

libobs: Fix bug with frame count in stat card - #10866

Closed
deltamaya wants to merge 1 commit into
obsproject:masterfrom
deltamaya:statcard
Closed

deltamaya wants to merge 1 commit into
obsproject:masterfrom
deltamaya:statcard

Conversation

@deltamaya

Copy link
Copy Markdown
Contributor

Now the frame count in statcard will display correctly with rescale output turned on

Description

Increase both encoder media and the obs main mix video 's frame count in gpu_encode_thread

Motivation and Context

fixes issue: #10744

How Has This Been Tested?

The encoded & lagged frame count works correctly with a simple scene

Types of changes

Bug fix

Checklist:

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

Now the frame count in statcard will display correctly with rescale output  turned on
@derrod

derrod commented Jun 17, 2024

Copy link
Copy Markdown
Member

This really isn't fixing the issue, but creating a bunch of new ones. For example, when using the Atium Vertical plugin which uses an separate view its encoder and output stats would be counted towards the main mix's video, which is incorrect.

Really what needs fixing here is the stats window itself, as it needs to get the video object from the output's encoder, rather than relying on the main mix itself.

@derrod derrod closed this Jun 17, 2024
@deltamaya
deltamaya deleted the statcard branch June 17, 2024 04:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants