Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix buffer rotation creation in Screencast example #1501

Merged
merged 2 commits into from
Jul 5, 2024

Conversation

levs42
Copy link
Contributor

@levs42 levs42 commented Jun 28, 2024

Description & motivation

This PR fixes initialization of the buffer rotator in Screencast example.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

@shogo4405 shogo4405 force-pushed the main branch 2 times, most recently from 6cf677a to 5f95e3f Compare June 29, 2024 04:08
Copy link
Owner

@shogo4405 shogo4405 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Simply enabling it might make it look buggy to first-time users. The default is set to landscape and trim mode, so when starting a vertical broadcast, the top and bottom get cut off. I think the following measures are necessary:

  1. Set videoSettings.scaleMode to letterBox.
  2. Allow it to be turned on/off with a flag or similar setting.

@levs42
Copy link
Contributor Author

levs42 commented Jul 4, 2024

Updated, please take a look

Copy link
Owner

@shogo4405 shogo4405 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@shogo4405 shogo4405 merged commit ce9b6e6 into shogo4405:main Jul 5, 2024
1 check failed
@shogo4405 shogo4405 added this to the 1.9.2 milestone Jul 5, 2024
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