RFR: 8268718: [macos] Video stops, but audio continues to play when stopTime is reached
Ambarish Rapte
arapte at openjdk.java.net
Thu Jul 8 18:48:54 UTC 2021
On Thu, 1 Jul 2021 01:38:14 GMT, Alexander Matveev <almatvee at openjdk.org> wrote:
> Not sure why, but our finish() handle was not implemented on OSXPlatform. This handle should pause media stream when called. Also, seek should restart playback when we finish playing video. With proposed fix OSXPlatform will behave same as GSTPlatform. Stop playback when stopTime is reached and resume playback if seek is performed after EndOfMedia or stopTime is reached.
Fix looks good to me.
-------------
Marked as reviewed by arapte (Reviewer).
PR: https://git.openjdk.java.net/jfx/pull/559
More information about the openjfx-dev
mailing list