Commit 4b5309c
authored
Do not play on resume if the video is not loaded for CommonVideoPlayerDesktop
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`.1 parent 5c3549e commit 4b5309c
File tree
1 file changed
+3
-1
lines changed- gdx-video-desktop/src/com/badlogic/gdx/video
1 file changed
+3
-1
lines changedLines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
297 | 297 | | |
298 | 298 | | |
299 | 299 | | |
300 | | - | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
301 | 303 | | |
302 | 304 | | |
303 | 305 | | |
| |||
0 commit comments