[FFmpeg-devel] [PATCH]configure: libvmaf depends on pthreads

Nicolas George george at nsup.org
Sun Nov 26 16:10:54 EET 2017


Derek Buitenhuis (2017-11-26):
> The problem is that libvmaf's .pc file put all of its deps in
> Libs instead of splitting them out into Libs.private, which
> is used only when static linking. Stuff like -lpthreads is
> only needed if static linking, and stuff like -lstdc++ is
> just wrong on any system that doesn't use libstdc++ (and
> also only used for static linking).
> 
> I assume this is what Nicholas is referring to.

No, the problem is that you are not speaking of the same thing.

$ grep -c pthread libavfilter/*vmaf*
libavfilter/vf_libvmaf.c:22
libavfilter/vf_vmafmotion.c:0
libavfilter/vmaf_motion.h:0

-> our code depends on pthreads for this filters, it must be expressed
in configure: Carl Eugen's patch is right, there is no need to bugreport
anything. His explanations later were wrong, but it may only be caused
by the confusion you brought.

What you describe is possibly true, but not related.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20171126/cf5f9461/attachment.sig>


More information about the ffmpeg-devel mailing list