[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-openjfx-dev
Subject:    Re: [jfx15] RFR: 8250238: Media fails to load libav 58 library when using modules from maven central
From:       Joeri Sykora <sykora () openjdk ! java ! net>
Date:       2020-07-24 8:20:30
Message-ID: Vka82OEoYQlQqKpAi4YKKhKFyeHUZmhw9K-ZKtLOMz4=.68d1bd99-e116-456d-a08b-ee82a55b1e77 () github ! com
[Download RAW message or body]

On Thu, 23 Jul 2020 21:40:05 GMT, Kevin Rushforth <kcr@openjdk.org> wrote:

> When running a JavaFX application using the JavaFX modules from maven central, the \
> native libraries are packed into the jar file, and then unpacked as needed by the \
> JavaFX runtime. This fails for libavplugin-ffmpeg-58.so, because the entry for the \
> `avplugin-ffmpeg-58` library is missing from the list of dependent libraries of \
> `jfxmedia` in [NativeMediaManager.java](https://github.com/openjdk/jfx/blob/14-ga/mo \
> dules/javafx.media/src/main/java/com/sun/media/jfxmediaimpl/NativeMediaManager.java#L118).
> 

I've tested on Ubuntu 20.04 and playing media files works again with this fix.

-------------

Marked as reviewed by sykora (Author).

PR: https://git.openjdk.java.net/jfx/pull/272


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic