This is not a problem in vlcj.
See https://code.videolan.org/videolan/vlc/-/issues/29069 for the issue in VLC.
This seems to be resolved in the latest VLC 3.x nightly build here https://artifacts.videolan.org/vlc-3.0/nightly-win64/20250307-0220/, which will hopefully soon result in a VLC 3.0.22 release containing the fix.