From: Brad Smith Subject: UPDATE: VLC 3.0.20 To: ports@openbsd.org Date: Mon, 19 Feb 2024 22:59:32 -0500 Here is an update to VLC 3.0.20. Changes between 3.0.19 and 3.0.20: ---------------------------------- Video Output: - Fix green line in fullscreen in D3D11 video output - Fix crash with some AMD drivers old versions - Fix events propagation issue when double-clicking with mouse wheel Decoders: - Fix crash when AV1 hardware decoder fails Interface: - Fix annoying disappearance of the Windows fullscreen controller Demuxers: - Fix potential security issue (OOB Write) on MMS:// by checking user size bounds Changes between 3.0.18 and 3.0.19: ---------------------------------- Core: * Fix next-frame freezing in most scenarios Demux: * Fix FLAC playback quality regression with variable frame size * Support RIFF INFO tags for Wav files * Fix AVI files with flipped RAW video planes * Fix duration on short and small Ogg/Opus files * Fix some HLS/TS streams with ID3 prefix * Fix some HLS playlist refresh drift * Fix for GoPro MAX spatial metadata * Improve FFmpeg-muxed MP4 chapters handling * Improve playback for QNap-produced AVI files * Improve playback of some old RealVideo files * Fix duration probing on some MP4 with missing information Decoders: * Multiple fixes on AAC handling * Activate hardware decoding of AV1 on Windows (DxVA) * Improve AV1 HDR support with software decoding * Fix some AV1 GBRP streams, AV1 super-resolution streams and monochrome ones * Fix black screen on poorly edited MP4 files on Android Mediacodec * Fix rawvid video in NV12 * Fix several issues on Windows hardware decoding (including "too large resolution in DxVA") * Improve crunchyroll-produced SSA rendering Video Output: * Super Resolution scaling with nVidia and Intel GPUs * Fix for an issue when cropping on Direct3D9 * Multiple fixes for hardware decoding on D3D11 and OpenGL interop * Fix an issue when playing -90°rotated video * Fix subtitles rendering blur on recent macOS Input: * Improve SMB compatibility with Windows 11 hosts Misc: * Improve muxing timestamps in a few formats (reset to 0) * Fix some rendering issues on Linux with the fullscreen controller * Fix GOOM visualization * Fixes for Youtube playback * Fix some MPRIS inconsistencies that broke some OS widgets on Linux * Implement MPRIS TrackList signals * Fix opening files in read-only mode * Fix password search using the Kwallet backend * Fix some crashes on macOS when switching application * Fix 5.1/7.1 output on macOS and tvOS * Fix several crashes and bugs in the macOS preferences panel * Improvements on the threading of the MMDevice audio output on Windows * Fix a potential security issue on the uninstaller DLLs (CVE-2023-46814) * Fix memory leaks when using the media_list_player libVLC APIs Translations: * Update of most translations * New translations to Esperanto, Interlingue, Lao, Macedonian, Burmese, Odia, Samoan and Swahili Index: Makefile =================================================================== RCS file: /cvs/ports/x11/vlc/Makefile,v retrieving revision 1.269 diff -u -p -u -p -r1.269 Makefile --- Makefile 19 Feb 2024 15:28:21 -0000 1.269 +++ Makefile 20 Feb 2024 03:40:11 -0000 @@ -1,15 +1,13 @@ COMMENT-main= VideoLAN client; multimedia player COMMENT-jack= JACK audio output module for VLC -V= 3.0.18 +V= 3.0.20 DISTNAME= vlc-${V} PKGNAME-main= ${DISTNAME} PKGNAME-jack= vlc-jack-${V} -REVISION-main= 6 CATEGORIES= x11 SITES= https://download.videolan.org/pub/videolan/vlc/${V}/ EXTRACT_SUFX= .tar.xz -REVISION-jack= 0 USE_NOBTCFI= Yes @@ -76,7 +74,7 @@ WANTLIB-main+= v4l2 WANTLIB-jack= db execinfo jack vlccore ${WANTLIB-common} -AUTOCONF_VERSION= 2.69 +AUTOCONF_VERSION= 2.71 AUTOMAKE_VERSION= 1.16 AUTORECONF= ./bootstrap Index: distinfo =================================================================== RCS file: /cvs/ports/x11/vlc/distinfo,v retrieving revision 1.47 diff -u -p -u -p -r1.47 distinfo --- distinfo 25 Nov 2022 11:52:17 -0000 1.47 +++ distinfo 20 Feb 2024 03:40:11 -0000 @@ -1,2 +1,2 @@ -SHA256 (vlc-3.0.18.tar.xz) = VwlEOcNl2KqLm0H6MIDMDu8r7+YCW7XO9yKszGJa7ew= -SIZE (vlc-3.0.18.tar.xz) = 26631372 +SHA256 (vlc-3.0.20.tar.xz) = rccoW00nIc3fQOtScMraKqoQozTLVG/VWgY1NEe6KbU= +SIZE (vlc-3.0.20.tar.xz) = 25596392 Index: patches/patch-configure_ac =================================================================== RCS file: /cvs/ports/x11/vlc/patches/patch-configure_ac,v retrieving revision 1.44 diff -u -p -u -p -r1.44 patch-configure_ac --- patches/patch-configure_ac 14 May 2023 09:20:41 -0000 1.44 +++ patches/patch-configure_ac 20 Feb 2024 03:40:11 -0000 @@ -11,7 +11,7 @@ Index: configure.ac ;; netbsd*) SYS=netbsd -@@ -1123,22 +1122,6 @@ AC_ARG_ENABLE(optimizations, +@@ -1122,22 +1121,6 @@ AC_ARG_ENABLE(optimizations, dnl Check for various optimization flags AS_IF([test "${enable_optimizations}" != "no"], [ @@ -34,7 +34,7 @@ Index: configure.ac dnl Check for fast maths AX_APPEND_COMPILE_FLAGS([-fno-math-errno -funsafe-math-optimizations -fno-rounding-math -fno-signaling-nans -fcx-limited-range], [CFLAGS]) AX_APPEND_COMPILE_FLAGS([-fno-math-errno -funsafe-math-optimizations -fno-rounding-math -fno-signaling-nans -fcx-limited-range], [CXXFLAGS]) -@@ -1664,7 +1647,7 @@ AC_ARG_ENABLE(lua, +@@ -1668,7 +1651,7 @@ AC_ARG_ENABLE(lua, [disable LUA scripting support (default enabled)])]) if test "${enable_lua}" != "no" then Index: patches/patch-modules_access_v4l2_lib_c =================================================================== RCS file: patches/patch-modules_access_v4l2_lib_c diff -N patches/patch-modules_access_v4l2_lib_c --- patches/patch-modules_access_v4l2_lib_c 29 Aug 2022 16:15:43 -0000 1.5 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,28 +0,0 @@ -v4l2: dlopen proper library name on OpenBSD -ed4a5feb243a201b7890672f3d376b4586a16593 - -Index: modules/access/v4l2/lib.c ---- modules/access/v4l2/lib.c.orig -+++ modules/access/v4l2/lib.c -@@ -31,6 +31,12 @@ - - #include "v4l2.h" - -+#ifdef __OpenBSD__ -+#define V4L2_LIB "libv4l2.so" -+#else -+#define V4L2_LIB "libv4l2.so.0" -+#endif -+ - static int fd_open (int fd, int flags) - { - (void) flags; -@@ -56,7 +62,7 @@ static void v4l2_lib_load (void) - - h = dlopen ("libmediaclient.so", RTLD_LAZY | RTLD_LOCAL | RTLD_NOLOAD); - if (h == NULL) -- h = dlopen ("libv4l2.so.0", RTLD_LAZY | RTLD_LOCAL); -+ h = dlopen (V4L2_LIB, RTLD_LAZY | RTLD_LOCAL); - if (h == NULL) - return; - Index: patches/patch-modules_access_v4l2_v4l2_h =================================================================== RCS file: patches/patch-modules_access_v4l2_v4l2_h diff -N patches/patch-modules_access_v4l2_v4l2_h --- patches/patch-modules_access_v4l2_v4l2_h 11 Mar 2022 20:17:31 -0000 1.4 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,20 +0,0 @@ -v4l2: use proper headers for OpenBSD's V4L2 support -c7905ecc665b1b464bbf13ddc395e2e7f8ddd8b2 - -Index: modules/access/v4l2/v4l2.h ---- modules/access/v4l2/v4l2.h.orig -+++ modules/access/v4l2/v4l2.h -@@ -18,7 +18,12 @@ - * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. - *****************************************************************************/ - --#include -+#if defined(HAVE_LINUX_VIDEODEV2_H) -+# include -+#elif defined(HAVE_SYS_VIDEOIO_H) -+# include -+# include -+#endif - - /* libv4l2 functions */ - extern int (*v4l2_fd_open) (int, int); Index: patches/patch-src_posix_thread_c =================================================================== RCS file: /cvs/ports/x11/vlc/patches/patch-src_posix_thread_c,v retrieving revision 1.7 diff -u -p -u -p -r1.7 patch-src_posix_thread_c --- patches/patch-src_posix_thread_c 11 Mar 2022 20:17:31 -0000 1.7 +++ patches/patch-src_posix_thread_c 20 Feb 2024 03:40:11 -0000 @@ -15,7 +15,7 @@ Index: src/posix/thread.c # if (_POSIX_MONOTONIC_CLOCK > 0) && (_POSIX_CLOCK_SELECTION > 0) @@ -625,7 +625,7 @@ void vlc_control_cancel (int cmd, ...) - mtime_t mdate (void) + vlc_tick_t mdate (void) { -#if (_POSIX_TIMERS > 0) +#if (_POSIX_TIMERS > 0) || defined(__OpenBSD__)