[FFmpeg-devel] [PATCH v3 2/2] libavformat/vapoursynth: Update to API version 4, load library at runtime

Stefan Oltmanns stefan-oltmanns at gmx.net
Tue Jul 23 17:59:29 EEST 2024


This is the second part for loading the library at runtime, changes
compared to previous patch revisions:

-No atexit anymore
-No global states anymore
-Moved the registry read for Windows from a separate function inside the
function to load the dynamic library and simplified it, reducing the
amount windows-specific code.

Tested with 2 VapourSynth inputs on these platforms, no problems and
clean exit:

-Linux x86_64 (Ubuntu 22.04)
-Windows 10 x86_64
-macOS 14 aarch64

Best regards
Stefan


Am 23.07.24 um 16:51 schrieb Stefan Oltmanns via ffmpeg-devel:
> Hello,
>
> this is revised patch, this is the first part that just updates to the
> API v4 of VapourSynth.
>
> Changes in API v4:
> -All functions previously in header are now part of the "vssapi" object
> -Renames of different types and functions
> -YCoCg is not treated as different format to YUV anymore
> -Some pointers to arrays are now arrays inside a struct.
>
> Best regards
> Stefan
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-avformat-vapoursynth-load-library-at-runtime.patch
Type: text/x-patch
Size: 4544 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20240723/32a6725b/attachment.bin>


More information about the ffmpeg-devel mailing list