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

Only create the VR canvas when it is required #6534

Merged
merged 1 commit into from
Jan 9, 2025

Conversation

absidue
Copy link
Member

@absidue absidue commented Jan 8, 2025

Only create the VR canvas when it is required

Pull Request Type

  • Bugfix

Related issue

Description

I don't personally have the problem mentioned in the issue or any way to reproduce it, so I can't test if it actually helps in the situation described by the user, however as they mentioned that removing the canvas helped, this PR should improve the situation. This PR only creates the VR canvas when we actually need it, so for VR videos that have equirectangular projection, other projections are not supported by shaka-player.

I've speculated on what the problem could be in a comment here if you would like to read it: #6530 (comment) (TL;DR likely some miscomunication between graphics drivers and Chromium, that Chromium doesn't handle well).

Testing

Desktop

  • OS: Windows
  • OS Version: 10
  • FreeTube version: 85cec5c

@FreeTubeBot FreeTubeBot enabled auto-merge (squash) January 8, 2025 22:12
@github-actions github-actions bot added the PR: waiting for review For PRs that are complete, tested, and ready for review label Jan 8, 2025
@FreeTubeBot FreeTubeBot merged commit b8b2ee9 into FreeTubeApp:development Jan 9, 2025
5 checks passed
@github-actions github-actions bot removed the PR: waiting for review For PRs that are complete, tested, and ready for review label Jan 9, 2025
@absidue absidue deleted the vr-canvas branch January 9, 2025 05:24
SuperAKWA pushed a commit to SuperAKWA/FreeTube that referenced this pull request Jan 24, 2025
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.

[Bug]: Canvas randomly crashes/doesn't load, causing white video player
5 participants