RFR: 8236832: [macos 10.15] JavaFX Application hangs on video play on Cata…
kcr at openjdk.java.net
Wed Feb 26 19:54:47 UTC 2020
On Wed, 26 Feb 2020 03:39:49 GMT, Alexander Matveev <almatvee at openjdk.org> wrote:
> - 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.
Looks good to me.
I think this is a safe enough change that a single reviewer will be sufficient, although we should wait for one day to see if anyone else has comments.
Marked as reviewed by kcr (Lead).
More information about the openjfx-dev