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

Do not play on resume if the video is not loaded for CommonVideoPlayerDesktop #103

Merged
merged 1 commit into from
Jan 19, 2025

Conversation

lucas-viva
Copy link
Contributor

In the old implementation (where load & play were done together), resume would load and play the video.

This change avoids a NullPointerException if calling resume before load.

…rDesktop

In the old implementation (where `load` & `play` were done together), `resume` would load and play the video.

This change avoids a `NullPointerException` if calling `resume` before `load`.
@SimonIT SimonIT merged commit d120bc0 into libgdx:master Jan 19, 2025
4 checks passed
@lucas-viva lucas-viva deleted the patch-1 branch January 30, 2025 12:51
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