RFR: 8236832: [macos 10.15] JavaFX Application hangs on video play on Cata…
Alexander Matveev
almatvee at openjdk.java.net
Wed Feb 26 03:44:17 UTC 2020
https://bugs.openjdk.java.net/browse/JDK-8236832
- This issue most likely caused by changes in AVFoundation APIs on macOS 10.15.
- Getting currentTime from AVPlayer was blocked if it is done from ProcessAudioTap callback (used for spectrum, equalizer and volume) on first call. If we reading currentTime after first callback returns, then it will not block. Fixed by not reading currentTime on first call and default it 0.
-------------
Commits:
- c8438fd6: 8236832: [macos 10.15] JavaFX Application hangs on video play on Catalina
Changes: https://git.openjdk.java.net/jfx/pull/126/files
Webrev: https://webrevs.openjdk.java.net/jfx/126/webrev.00
Issue: https://bugs.openjdk.java.net/browse/JDK-8236832
Stats: 23 lines in 4 files changed: 15 ins; 0 del; 8 mod
Patch: https://git.openjdk.java.net/jfx/pull/126.diff
Fetch: git fetch https://git.openjdk.java.net/jfx pull/126/head:pull/126
PR: https://git.openjdk.java.net/jfx/pull/126
More information about the openjfx-dev
mailing list