head 1.1; access; symbols; locks; strict; comment @ * @; 1.1 date 2026.09.06.09.56.09; author markd; state Exp; branches; next ; commitid JNfRedyDf47MPxUG; desc @@ 1.1 log @mlt: update to 7.40.0 Version 7.40.0 Framework - Some fixes for `win32_fopen()`. - Security fixes for time formatting in `mlt_properties`. - Security fix to disable deprecated `ante` & `post` properties in `mlc_consumer`. - Added more properties to `metaschema.yaml` (new version 7.2). Modules - Added `audio_formats` and `image_formats` properties to all service metadata. - Many improvements to the `openfx` module: - fixed potential overflows in `snprintf()` calls - multi-threading: frame- and slice-based - many compatibility fixes - added support for 2D and 3D numeric parameters (uses `mlt_rect`) - fixed preview scaling - fixed the default for `choice` (`values` in `metaschema.yaml`) parameters - fixed some effects rendering upside-down. - Fixed a signed int overflow in `pgm` producer. - Visual quality improvements for animations in the `qtblend` filter and transition. - MSVC compatibility fixes for `kdenlivetitle` producer and `frei0r`, `plusgpl`, `jackrack`, `openfx`, `rtaudio`, & `resample` modules. - Fixed choppy playback and deadlocks in the `decklink` consumer. - Updated `spatialaudio` module to the libspatialaudio 0.4.0 API. - Fixed libopus audio encoder warning about `frame_duration` in `avformat` consumer. - Fixed crash in `avformat` consumer with unsupported `attached_pic` format. - Added HDR10 SMPTE ST 2084 (PQ) properties to the `decklink` consumer. - Added `rnnoise` module for background audio noise reduction (depends on librnnoise). - Fixed plugin bundles for `vst2` filters on macOS. - Fixed the frame position in the `consumer` producer. - Hardened string formatting for metadata properties in the `vorbis` producer. - Fixed `typewriter` in `qtext` filter lags when rate properties changed. - Added the `.lot` file name extension for the `loader` producer to use `glaxnimate`. Version 7.38.0 Framework - Added dynamic hash table for `mlt_properties` for better performance. - Fixed memory corruption in `mlt_pool`. - Added warning on file open failure when parsing in `mlt_properties`. Modules - Added `hwaccel_scale` filter with preview scaling (scale_vaapi, scale_vulkan, scale_d3d11, scale_vt (macOS)). - Added *basic* support for **OpenFX** *filter* plugins. - Added `lut` parameter to `avformat` producer. - Added `attached_pic` property to `avformat` consumer. - Added `movit.overlay_blend` video filter. - Added `compositing` property to `movit.overlay` transition. - Added constant-power crossfade to `mix` audio transition. - Added rounded corner support for `rect` in `kdenlivetitle`. - Added typewriter properties to `subtitle` filter. - Added underline and strikethrough to the `text` and `qtext` filters. - Changed `qtext` `style` property to support family named styles. - Added anchor point support for arbitrary rotations in `qtblend`. - Allow relative paths for images in `kdenlivetitle`. - Updated Glaxnimate module to version 0.6.0. - Switched to `QImage` scaling when downscaling in `qtblend`. - Deprecated `obscure` and `watermark` filters. - Install the jackrack module's blacklist files. - Fixed subtitle stream type metadata. - Fixed mutex initialization in `avformat` no-validate mode. - Fixed crash when using `linearblend` deinterlacer. - Fixed black bar with HEVC hwaccel decode and scale on Windows. - Fixed crash with hardware scaler and interlaced video. - Fixed converting 8-bit full to limited range with hwaccel. - Fixed alpha in 12-bit ProRes with alpha. - Fixed `movit` linear color not matching CPU filters. - Fixed `multi` consumer making extra linear color conversions. - Fixed regression writing raw FLAC. - Fixed `qtblend` filter returning unexpectedly large frames. - Fixed `qtext` outline encroaching on fill color. - Fixed wrong last+ frame when `eof=loop` in Glaxnimate. - Fixed `brightness` filter on track below a clip with transparency. Version 7.36.1 - Fixed construcing a new producer with a null profile. - Fixed constructing a `xml-clip` profile. Version 7.36.0 Framework - Added `mlt_image_default_colorspace()` - Added `mlt_image_default_trc()` - Added `mlt_image_default_primaries()` - Added `mlt_color_convert_trc()` - Added the `mlt_consumer` property `mlt_color_trc` to drive a new `color_transform` normalizer filter. - Removed `atexit(mlt_factory_close)` in `mlt_factory_init()`. - Prevent possible crash in `mlt_service_connect_producer()`. - Added `mlt_profile_is_valid()` and `Mlt::Profile::is_valid()`. Modules - Drop support for Qt 5. - Fixed bad color in `luma` transition's dissolve (regression in v7.34.0). - Fixed HLG HDR broken in `decklink` consumer (regression in v7.34.0). - Fixed warnings when flushing audio in the `avformat` consumer. - Added support for `hwaccel=vulkan` to the `avformat` producer. @ text @$NetBSD$ NetBSD needs --- src/melt/io.c.orig 2026-06-25 00:09:29.000000000 +0000 +++ src/melt/io.c @@@@ -36,6 +36,9 @@@@ #include #include #endif +#ifdef __NetBSD__ +#include +#endif /* Application header files */ #include "io.h" @