Integrated: 8253351: MediaPlayer does not display an mp4 if there no speakers connected to the PC's
Alexander Matveev
almatvee at openjdk.java.net
Wed Jul 28 22:27:32 UTC 2021
On Sat, 24 Jul 2021 02:59:52 GMT, Alexander Matveev <almatvee at openjdk.org> wrote:
> Fixed by not failing initialization if DSERR_NODRIVER is returned, which will be return if device is not present at all. Fixed format initialization even if DirectSound device was not created in case if audio device will arrive after playback started. Since we already handle correctly device arrival after playback started, audio will resume if device is enabled or USB audio card is plugged back. Due to lack of access to USB audio device, it was tested by disabling sound card via Device Manager, then starting playback (video plays, but not audio) and then enabling device and once enabled audio will start playing.
This pull request has now been integrated.
Changeset: b738e1ce
Author: Alexander Matveev <almatvee at openjdk.org>
URL: https://git.openjdk.java.net/jfx/commit/b738e1cee709d0842196c086ad33db95a6e13856
Stats: 27 lines in 1 file changed: 18 ins; 7 del; 2 mod
8253351: MediaPlayer does not display an mp4 if there no speakers connected to the PC's
Reviewed-by: jvos, kcr
-------------
PR: https://git.openjdk.java.net/jfx/pull/586
More information about the openjfx-dev
mailing list