RFR: 8287822: [macos] Remove support of duplicated formats from macOS
Alexander Matveev
almatvee at openjdk.org
Tue Oct 11 00:08:26 UTC 2022
- Added support for JAR and JRT protocol to AVFoundation platform.
- Removed H.264/MP3 and AAC support from GStreamer platform, which was primary used to playback these formats for JAR and JRT protocols.
- Added ability to FXMediaPlayer sample to generate playlist for JAR and JRT protocols for testing. See FXMedia.java for how to use it.
- H.265/HEVC via JAR/JRT protocols should work on macOS after this change. Before it did not work because GStreamer platform did not support H.265/HEVC and AVFoundation did not support JAR/JRT protocols.
- Minor code clean up.
After this changes:
GSTPlatform: AIFF and WAV for all protocols.
AVFoundation: MP3, AAC, HLS, H.264 and H.265 for all protocols.
This change is transparent for end user and does not affect list of supported formats by JavaFX Media.
-------------
Commit messages:
- Merge remote-tracking branch 'upstream/master' into JDK-8287822
- 8287822: [macos] Remove support of duplicated formats from macOS
Changes: https://git.openjdk.org/jfx/pull/909/files
Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=909&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8287822
Stats: 3269 lines in 27 files changed: 436 ins; 2784 del; 49 mod
Patch: https://git.openjdk.org/jfx/pull/909.diff
Fetch: git fetch https://git.openjdk.org/jfx pull/909/head:pull/909
PR: https://git.openjdk.org/jfx/pull/909
More information about the openjfx-dev
mailing list