On Tue, 25 Oct 2022 05:07:05 GMT, Alexander Matveev <almat...@openjdk.org> wrote:
> - Added support for libavcodec 59. > - libavcodec 59 removed several deprecated APIs and avplugin code was > updated to use replacement APIs instead. > - No changes to avplugin when used with 58 or below. > - Note: Support for libavcodec 59 was added based on ffmpeg only. libav does > not have version 59. I did a successful test build, but I don't currently have a system with libav59 libraries to test it on. The fix looks good to me with one exception. You also need to add an entry for `"avplugin-ffmpeg-59"` in the [NativeMediaManager constructor](https://github.com/openjdk/jfx/blob/bb4cead00e952484896191ca0e41f1608ae5b41e/modules/javafx.media/src/main/java/com/sun/media/jfxmediaimpl/NativeMediaManager.java#L127). ------------- PR: https://git.openjdk.org/jfx/pull/932