mirror of
https://git.freebsd.org/ports.git
synced 2025-05-15 16:51:52 -04:00
* --enable-avresample is gone per https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/420cedd49745 * SHADERC replaces GLSLANG per https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/da72aca7b025 * VULKAN is enabled per https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/fa2e460f635 * LIBPLACEBO is enabled to have even more Vulkan goodies * LCMS2 is enabled for better ICC profile support * JXL is enabled for https://github.com/mpv-player/mpv/commit/1345977f9976 Changes: https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n6.0:/Changelog PR: 261302 Reported by: Repology Exp-run by: antoine Approved by: tcberner
14 lines
460 B
C
14 lines
460 B
C
pthread_setname_np is implemented on top of PR_SET_NAME on Linux
|
|
and is also available on DragonFly, FreeBSD and Solaris
|
|
|
|
--- libavutil/thread.h.orig 2023-02-27 20:43:45 UTC
|
|
+++ libavutil/thread.h
|
|
@@ -196,6 +196,8 @@ static inline int ff_thread_setname(const char *name)
|
|
{
|
|
#if HAVE_PRCTL
|
|
return AVERROR(prctl(PR_SET_NAME, name));
|
|
+#elif HAVE_PTHREADS
|
|
+ return AVERROR(pthread_setname_np(pthread_self(), name));
|
|
#endif
|
|
|
|
return AVERROR(ENOSYS);
|